diff options
Diffstat (limited to 'test/system/030-run.bats')
-rw-r--r-- | test/system/030-run.bats | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/system/030-run.bats b/test/system/030-run.bats index 742b4c9e3..eef05747f 100644 --- a/test/system/030-run.bats +++ b/test/system/030-run.bats @@ -33,4 +33,12 @@ echo $rand | 0 | $rand done < <(parse_table "$tests") } +@test "podman run - uidmapping has no /sys/kernel mounts" { + run_podman $expected_rc run --uidmapping 0:100:10000 $IMAGE mount | grep /sys/kernel + is "$output" "" "podman run $cmd - output" + + run_podman $expected_rc run --net host --uidmapping 0:100:10000 $IMAGE mount | grep /sys/kernel + is "$output" "" "podman run $cmd - output" +} + # vim: filetype=sh |