From 28204ce7e8dde13e990802d49f6185ff1e3aec60 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 19 Aug 2020 17:56:52 -0700 Subject: [PATCH] tests/int/delete: rm useless code Commit 335f0806c added a test case doing ```bash for i in $(seq 1); do ... done ``` and it does not make any sense to have it since we're only performing a single iteration. Remove the code. I have not touched the indentation, for the sake of cleaner review, also because already have different intentation in different tests; this should be addressed separately. Signed-off-by: Kir Kolyshkin --- tests/integration/delete.bats | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/integration/delete.bats b/tests/integration/delete.bats index 57d08a48a..bb66092f4 100644 --- a/tests/integration/delete.bats +++ b/tests/integration/delete.bats @@ -61,7 +61,6 @@ function teardown() { local subsystems="memory freezer" - for i in $(seq 1); do runc run -d --console-socket $CONSOLE_SOCKET test_busybox [ "$status" -eq 0 ] @@ -102,8 +101,6 @@ EOF run find /sys/fs/cgroup -wholename '*testbusyboxdelete*' -type d [ "$status" -eq 0 ] [ "$output" = "" ] || fail "cgroup not cleaned up correctly: $output" - - done } @test "runc delete --force in cgroupv2 with subcgroups" {