tests/int: rm teardown_running_container_inroot

It is only used in a couple of places and is easy to replace
with ROOT=xxx teardown_running_container.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2021-01-20 19:26:33 -08:00
parent 78f0e4b277
commit 0cfc2e327d
3 changed files with 6 additions and 14 deletions
+4 -7
View File
@@ -3,17 +3,14 @@
load helpers
function setup() {
teardown_running_container_inroot test_box1 "$HELLO_BUNDLE"
teardown_running_container_inroot test_box2 "$HELLO_BUNDLE"
teardown_running_container_inroot test_box3 "$HELLO_BUNDLE"
teardown_busybox
teardown
setup_busybox
}
function teardown() {
teardown_running_container_inroot test_box1 "$HELLO_BUNDLE"
teardown_running_container_inroot test_box2 "$HELLO_BUNDLE"
teardown_running_container_inroot test_box3 "$HELLO_BUNDLE"
ROOT="$HELLO_BUNDLE" teardown_running_container test_box1
ROOT="$HELLO_BUNDLE" teardown_running_container test_box2
ROOT="$HELLO_BUNDLE" teardown_running_container test_box3
teardown_busybox
}