diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-10-20 07:25:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 07:25:35 -0400 |
commit | f9450300b73e18890f7264bffca35b291aa3176e (patch) | |
tree | 1764522482b97b6fdf86c21e5d2505aa6e49b89c /test/system/055-rm.bats | |
parent | e944544271d9e515bdfc7e364e3ddf372b0dd378 (diff) | |
parent | b23d430516a20f0274c200c2d67bf0e1b05bff18 (diff) | |
download | podman-f9450300b73e18890f7264bffca35b291aa3176e.tar.gz podman-f9450300b73e18890f7264bffca35b291aa3176e.tar.bz2 podman-f9450300b73e18890f7264bffca35b291aa3176e.zip |
Merge pull request #8061 from edsantiago/bats
System tests: remove some misleading 'run's
Diffstat (limited to 'test/system/055-rm.bats')
-rw-r--r-- | test/system/055-rm.bats | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/system/055-rm.bats b/test/system/055-rm.bats index 7176ae4b8..0107114b5 100644 --- a/test/system/055-rm.bats +++ b/test/system/055-rm.bats @@ -41,11 +41,14 @@ load helpers run_podman create --name $rand $IMAGE /bin/true # Create a container that podman does not know about - run buildah from $IMAGE - cid="$output" + external_cid=$(buildah from $IMAGE) + + # Plain 'exists' should fail, but should succeed with --external + run_podman 1 container exists $external_cid + run_podman container exists --external $external_cid # rm should succeed - run_podman rm $rand $cid + run_podman rm $rand $external_cid } # I'm sorry! This test takes 13 seconds. There's not much I can do about it, |