Skip to content

Commit 28204ce

Browse files
committed
tests/int/delete: rm useless code
Commit 335f080 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 <[email protected]>
1 parent 34b4b10 commit 28204ce

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/integration/delete.bats

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ function teardown() {
6161

6262
local subsystems="memory freezer"
6363

64-
for i in $(seq 1); do
6564
runc run -d --console-socket $CONSOLE_SOCKET test_busybox
6665
[ "$status" -eq 0 ]
6766

@@ -102,8 +101,6 @@ EOF
102101
run find /sys/fs/cgroup -wholename '*testbusyboxdelete*' -type d
103102
[ "$status" -eq 0 ]
104103
[ "$output" = "" ] || fail "cgroup not cleaned up correctly: $output"
105-
106-
done
107104
}
108105

109106
@test "runc delete --force in cgroupv2 with subcgroups" {

0 commit comments

Comments
 (0)