tests/int/*.bats: make sure to delete containers

With some grep|awk help, found a few places where the containers
supposed to be removed in teardown() weren't.

To find container names:

	grep -E '^[[:space:]]*\<_*_*runc\>.*\<(create|run|restore)\>'

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2020-09-16 10:16:52 -07:00
parent ba8687fc28
commit 908b7076e9
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -12,6 +12,7 @@ function setup() {
function teardown() {
teardown_busybox
teardown_running_container test_busybox_restore
}
function setup_pipes() {
+1
View File
@@ -9,6 +9,7 @@ function setup() {
function teardown() {
teardown_busybox
teardown_running_container testbusyboxdelete
}
@test "runc delete" {
+1
View File
@@ -9,6 +9,7 @@ function setup() {
function teardown() {
teardown_busybox
teardown_running_container test_dev
}
@test "runc run [redundant default /dev/tty]" {
+1
View File
@@ -9,6 +9,7 @@ function setup() {
function teardown() {
teardown_busybox
teardown_running_container test_bind_mount
}
@test "runc run [bind mount]" {