summaryrefslogtreecommitdiff
path: root/libpod/version.go
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2018-07-18 22:04:40 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-26 20:47:31 +0000
commit9ff4f40094c5863951c965f6cdf5844843a3fe1b (patch)
tree95d71f4711f4f1a1a598559ce5bba683d164dd51 /libpod/version.go
parenta0575d6e469b15d9cf239dcddabe03fdb7059afd (diff)
downloadpodman-9ff4f40094c5863951c965f6cdf5844843a3fe1b.tar.gz
podman-9ff4f40094c5863951c965f6cdf5844843a3fe1b.tar.bz2
podman-9ff4f40094c5863951c965f6cdf5844843a3fe1b.zip
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
Diffstat (limited to 'libpod/version.go')
0 files changed, 0 insertions, 0 deletions