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 <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2020-08-19 17:56:52 -07:00
parent 34b4b106c6
commit 28204ce7e8
-3
View File
@@ -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" {