diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-09-30 17:22:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 17:22:54 +0000 |
commit | f86e01ab10821d99cebb82d10c3bd5dad77af8c6 (patch) | |
tree | 8076aa51152c2c6f5e17719e896acec1182f2676 /test/system/075-exec.bats | |
parent | e2050d7c351d14cab2ccaa09f8a6409688496727 (diff) | |
parent | 703381b4a2b1dc761ffee0d8e36b47f21ffd92c5 (diff) | |
download | podman-f86e01ab10821d99cebb82d10c3bd5dad77af8c6.tar.gz podman-f86e01ab10821d99cebb82d10c3bd5dad77af8c6.tar.bz2 podman-f86e01ab10821d99cebb82d10c3bd5dad77af8c6.zip |
Merge pull request #7820 from giuseppe/fix-capabilities-not-root
capabilities: always set ambient and inheritable
Diffstat (limited to 'test/system/075-exec.bats')
-rw-r--r-- | test/system/075-exec.bats | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/075-exec.bats b/test/system/075-exec.bats index e9db8c27e..edd7dedc4 100644 --- a/test/system/075-exec.bats +++ b/test/system/075-exec.bats @@ -92,14 +92,14 @@ 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 \ - "echo READY;while [ ! -f /stop ]; do sleep 1; done" + "echo READY;while [ ! -f /tmp/stop ]; do sleep 1; done" cid="$output" wait_for_ready $cid run_podman exec $cid id -un is "$output" "$(id -un)" "container is running as current user" - run_podman exec --user=$(id -un) $cid touch /stop + run_podman exec --user=$(id -un) $cid touch /tmp/stop run_podman wait $cid run_podman rm $cid } |