mirror of
https://github.com/containers/podman
synced 2024-10-20 17:23:30 +00:00
Move removal of containers into teardown helper
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
This commit is contained in:
parent
63c09d1017
commit
3180e38795
|
@ -161,6 +161,7 @@ function wait_until_reachable() {
|
|||
}
|
||||
|
||||
function cleanup_test() {
|
||||
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm --force --all"
|
||||
rm -rf "$TESTDIR"
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ function setup() {
|
|||
}
|
||||
|
||||
function teardown() {
|
||||
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
|
||||
cleanup_test
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
load helpers
|
||||
|
||||
function teardown() {
|
||||
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
|
||||
cleanup_test
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
load helpers
|
||||
|
||||
function teardown() {
|
||||
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm --force --all"
|
||||
cleanup_test
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
load helpers
|
||||
|
||||
function teardown() {
|
||||
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
|
||||
cleanup_test
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@ load helpers
|
|||
IMAGE="redis:alpine"
|
||||
|
||||
function teardown() {
|
||||
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
|
||||
cleanup_test
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ function setup() {
|
|||
}
|
||||
|
||||
function teardown() {
|
||||
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
|
||||
cleanup_test
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@ function setup() {
|
|||
}
|
||||
|
||||
function teardown() {
|
||||
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm --force --all"
|
||||
cleanup_test
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ function setup() {
|
|||
}
|
||||
|
||||
function teardown() {
|
||||
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm --force --all"
|
||||
cleanup_test
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
load helpers
|
||||
|
||||
function teardown() {
|
||||
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
|
||||
cleanup_test
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
load helpers
|
||||
|
||||
function teardown() {
|
||||
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
|
||||
cleanup_test
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
load helpers
|
||||
|
||||
function teardown() {
|
||||
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm --force --all"
|
||||
cleanup_test
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue