diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-08-25 13:15:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-25 13:15:22 -0400 |
commit | c02fe7e9d6516a89dc84c38828cc38502485a481 (patch) | |
tree | 4f65c43d418fff92267e19a3dccf5c2328e3aeaa | |
parent | 024f47068a894907ee47b1b90c86090a00586940 (diff) | |
parent | a60b4cc1d8d06782b4df13a08ea6440e27809d0b (diff) | |
download | podman-c02fe7e9d6516a89dc84c38828cc38502485a481.tar.gz podman-c02fe7e9d6516a89dc84c38828cc38502485a481.tar.bz2 podman-c02fe7e9d6516a89dc84c38828cc38502485a481.zip |
Merge pull request #7439 from edsantiago/fix_failing_userns_test
run test: use explicit uid/gid
-rw-r--r-- | test/system/030-run.bats | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/030-run.bats b/test/system/030-run.bats index 12c82bc4c..5e0ab3d6a 100644 --- a/test/system/030-run.bats +++ b/test/system/030-run.bats @@ -286,10 +286,10 @@ echo $rand | 0 | $rand cid="$output" gecos="$(random_string 6) $(random_string 8)" - run_podman exec --user root $cid adduser -D -g "$gecos" -s /bin/sh newuser3 + run_podman exec --user root $cid adduser -u 4242 -G ping -D -g "$gecos" -s /bin/sh newuser3 is "$output" "" "output from adduser" run_podman exec $cid tail -1 /etc/passwd - is "$output" "newuser3:x:1000:1000:$gecos:/home/newuser3:/bin/sh" \ + is "$output" "newuser3:x:4242:999:$gecos:/home/newuser3:/bin/sh" \ "newuser3 added to /etc/passwd in container" run_podman exec $cid touch /stop |