We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28204ce commit b8efb02Copy full SHA for b8efb02
tests/integration/delete.bats
@@ -61,7 +61,7 @@ function teardown() {
61
62
local subsystems="memory freezer"
63
64
- runc run -d --console-socket $CONSOLE_SOCKET test_busybox
+ runc run -d --console-socket "$CONSOLE_SOCKET" test_busybox
65
[ "$status" -eq 0 ]
66
67
testcontainer test_busybox running
@@ -88,9 +88,9 @@ EOF
88
89
for s in ${subsystems}; do
90
name=CGROUP_${s^^}
91
- eval path=\$${name}/foo
92
- echo $path
93
- [ -d ${path} ] || fail "test failed to create memory sub-cgroup"
+ eval path=\$"${name}"/foo
+ # shellcheck disable=SC2154
+ [ -d "${path}" ] || fail "test failed to create memory sub-cgroup ($path not found)"
94
done
95
96
runc delete --force test_busybox
0 commit comments