diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-08-04 16:24:34 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-08-04 20:26:34 -0400 |
commit | a0fb08100391f27c283e0bf62e5663222066b6bf (patch) | |
tree | 5328e9af0b2ea16e7b3529d37597a88352729958 /test/system/030-run.bats | |
parent | 807efd669802f00a90339bfa43a508505bec4858 (diff) | |
download | podman-a0fb08100391f27c283e0bf62e5663222066b6bf.tar.gz podman-a0fb08100391f27c283e0bf62e5663222066b6bf.tar.bz2 podman-a0fb08100391f27c283e0bf62e5663222066b6bf.zip |
Handle podman-remote run --rm
We need to remove the container after it has exited for
podman-remote run --rm commands. If we don't remove this
container at this step, we open ourselves up to race conditions.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/system/030-run.bats')
-rw-r--r-- | test/system/030-run.bats | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/system/030-run.bats b/test/system/030-run.bats index e93a2efe2..43b41a0bd 100644 --- a/test/system/030-run.bats +++ b/test/system/030-run.bats @@ -96,8 +96,6 @@ echo $rand | 0 | $rand # Believe it or not, 'sh -c' resulted in different behavior run_podman 0 run --rm $IMAGE sh -c /bin/true run_podman 1 run --rm $IMAGE sh -c /bin/false - - if is_remote; then sleep 2;fi # FIXME: pending #7119 } @test "podman run --name" { @@ -266,8 +264,6 @@ echo $rand | 0 | $rand done done done - - if is_remote; then sleep 2;fi # FIXME: pending #7119 } # #6829 : add username to /etc/passwd inside container if --userns=keep-id @@ -292,8 +288,6 @@ echo $rand | 0 | $rand run_podman run --rm --privileged --userns=keep-id --user=0 $IMAGE id -un remove_same_dev_warning # grumble is "$output" "root" "--user=0 overrides keep-id" - - if is_remote; then sleep 2;fi # FIXME: pending #7119 } # #6991 : /etc/passwd is modifiable |