aboutsummaryrefslogtreecommitdiff
path: root/test/system/200-pod.bats
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-03-16 14:04:07 +0100
committerValentin Rothberg <vrothberg@redhat.com>2022-03-17 14:18:16 +0100
commitff54aaa634f9b3fbcdc67ceff8ebcc9689ca0658 (patch)
treeadd8ad426c75658a9c6297cc2d901902c9579ea6 /test/system/200-pod.bats
parentfa33f3527f14edbf7407ba3ba482ef839debfb39 (diff)
downloadpodman-ff54aaa634f9b3fbcdc67ceff8ebcc9689ca0658.tar.gz
podman-ff54aaa634f9b3fbcdc67ceff8ebcc9689ca0658.tar.bz2
podman-ff54aaa634f9b3fbcdc67ceff8ebcc9689ca0658.zip
podman create: building local pause image: do not read ignore files
Make sure to ignore local {container,docker}ignore files when building a local pause image. Otherwise, we may mistakenly not be able to copy catatonit into the build container. Fixes: #13529 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'test/system/200-pod.bats')
-rw-r--r--test/system/200-pod.bats8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/system/200-pod.bats b/test/system/200-pod.bats
index 34dfaa8f6..ca931e244 100644
--- a/test/system/200-pod.bats
+++ b/test/system/200-pod.bats
@@ -6,13 +6,7 @@ load helpers
function teardown() {
run_podman pod rm -f -t 0 -a
run_podman rm -f -t 0 -a
- run_podman image list --format '{{.ID}} {{.Repository}}'
- while read id name; do
- if [[ "$name" =~ /podman-pause ]]; then
- run_podman rmi $id
- fi
- done <<<"$output"
-
+ run_podman ? rmi $(pause_image)
basic_teardown
}