mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
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:
@@ -12,6 +12,7 @@ function setup() {
|
||||
|
||||
function teardown() {
|
||||
teardown_busybox
|
||||
teardown_running_container test_busybox_restore
|
||||
}
|
||||
|
||||
function setup_pipes() {
|
||||
|
||||
@@ -9,6 +9,7 @@ function setup() {
|
||||
|
||||
function teardown() {
|
||||
teardown_busybox
|
||||
teardown_running_container testbusyboxdelete
|
||||
}
|
||||
|
||||
@test "runc delete" {
|
||||
|
||||
@@ -9,6 +9,7 @@ function setup() {
|
||||
|
||||
function teardown() {
|
||||
teardown_busybox
|
||||
teardown_running_container test_dev
|
||||
}
|
||||
|
||||
@test "runc run [redundant default /dev/tty]" {
|
||||
|
||||
@@ -9,6 +9,7 @@ function setup() {
|
||||
|
||||
function teardown() {
|
||||
teardown_busybox
|
||||
teardown_running_container test_bind_mount
|
||||
}
|
||||
|
||||
@test "runc run [bind mount]" {
|
||||
|
||||
Reference in New Issue
Block a user