spiegel_podman/libpod/image
Miloslav Trmač 9ff4f40094 Skip unit tests which require storage when not running as root
On macOS NewImageRuntimeFromOptions fails with chown EPERM because the
"vfs" driver tries to chown its home to root:root 0700; in fact running
as root seems to be a generic requirement.  So, skip the tests if not
running as root.

(This could maybe benefit from an extra state, maybe an environment
variable like RUNNING_IN_CI, to make sure the tests are actually
run often enough.)

Signed-off-by: Miloslav Trmač <mitr@redhat.com>

Closes: #1115
Approved by: rhatdan
2018-07-26 20:47:31 +00:00
..
docker_registry_options.go save and load should support multi-tag for docker-archive 2018-05-25 15:15:47 +00:00
filters.go Spell check strings and comments 2018-05-25 08:45:15 +00:00
image.go Make Image.HasShaInInputName to an independent local function 2018-07-23 12:44:38 +00:00
image_test.go Skip unit tests which require storage when not running as root 2018-07-26 20:47:31 +00:00
parts.go Use the result of reference.Parse when checking for digests. 2018-07-23 12:44:38 +00:00
parts_test.go Add unit tests for imageParts 2018-07-23 12:44:38 +00:00
pull.go Make refNamesFromPossiblyUnqualifiedName independent from Image 2018-07-23 12:44:38 +00:00
pull_test.go Make refNamesFromPossiblyUnqualifiedName independent from Image 2018-07-23 12:44:38 +00:00
signing_options.go Stage3 Image Library 2018-03-14 20:21:31 +00:00
utils.go Inline getTags into its only user 2018-07-23 12:44:38 +00:00