summaryrefslogtreecommitdiff
path: root/test/system/075-exec.bats
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-11-19 09:57:06 -0700
committerEd Santiago <santiago@redhat.com>2020-12-01 08:14:54 -0700
commita17fb01d400f8f3504099fbd65e284124432f274 (patch)
tree26619409c5f94c0f93cca9e54eaf833bb7dd1b5b /test/system/075-exec.bats
parent24383906f891cea0c802f911deed43f8f8f2ac85 (diff)
downloadpodman-a17fb01d400f8f3504099fbd65e284124432f274.tar.gz
podman-a17fb01d400f8f3504099fbd65e284124432f274.tar.bz2
podman-a17fb01d400f8f3504099fbd65e284124432f274.zip
BATS: add ping test
- run test : tweaks to recently-added network-conflict test: * remove "-d" in run * confirm exact warning text, and also that container runs successfully * test multiple --net options (regression #8057) - images, run, build, exec tests: add multiple-flag testing for various flags, confirming as appropriate whether options are overridden or accumulated. - ps test : add --filter and --sort tests - pod test: run 'ping' inside container (confirms that container gets PING capability) Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system/075-exec.bats')
-rw-r--r--test/system/075-exec.bats3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/system/075-exec.bats b/test/system/075-exec.bats
index edd7dedc4..c028e16c9 100644
--- a/test/system/075-exec.bats
+++ b/test/system/075-exec.bats
@@ -91,7 +91,8 @@ load helpers
# #6829 : add username to /etc/passwd inside container if --userns=keep-id
@test "podman exec - with keep-id" {
- run_podman run -d --userns=keep-id $IMAGE sh -c \
+ # Multiple --userns options confirm command-line override (last one wins)
+ run_podman run -d --userns=private --userns=keep-id $IMAGE sh -c \
"echo READY;while [ ! -f /tmp/stop ]; do sleep 1; done"
cid="$output"
wait_for_ready $cid