aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2018-08-27 13:28:08 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-27 12:49:32 +0000
commitbbbdd45b2c901aa58a1f40eb93957908df271bf5 (patch)
tree50411f0629b475cd753818ed1ccb5226d7570648 /test
parentfe00977fa53bb457040d57f8bd797576fa6dbff7 (diff)
downloadpodman-bbbdd45b2c901aa58a1f40eb93957908df271bf5.tar.gz
podman-bbbdd45b2c901aa58a1f40eb93957908df271bf5.tar.bz2
podman-bbbdd45b2c901aa58a1f40eb93957908df271bf5.zip
spec: bind mount /sys only when userNS are enabled
Fix the test for checking when /sys must be bind mounted from the host. It should be done only when userNS are enabled (the !UsernsMode.IsHost() check is not enough for that). Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #1349 Approved by: rhatdan
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions