summaryrefslogtreecommitdiff
path: root/test/TEST-32-OOMPOLICY
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2021-04-19 13:01:59 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-04-20 10:26:43 +0200
commit3f161ba9bc43e68e5ac3dd9ef18309e6e88bee89 (patch)
tree08f9ff10b2b06341ab6f4ea97bc83817d30a4154 /test/TEST-32-OOMPOLICY
parent4d686e6b0b12ffe9a1104ac23fee97c0de8a0730 (diff)
downloadsystemd-3f161ba9bc43e68e5ac3dd9ef18309e6e88bee89.tar.gz
test: make the test entrypoint scripts shellcheck-compliant
Diffstat (limited to 'test/TEST-32-OOMPOLICY')
-rwxr-xr-xtest/TEST-32-OOMPOLICY/test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/TEST-32-OOMPOLICY/test.sh b/test/TEST-32-OOMPOLICY/test.sh
index 6f2955cf62..11290fd8e4 100755
--- a/test/TEST-32-OOMPOLICY/test.sh
+++ b/test/TEST-32-OOMPOLICY/test.sh
@@ -1,8 +1,11 @@
#!/usr/bin/env bash
set -e
+
TEST_DESCRIPTION="test OOM killer logic"
TEST_NO_NSPAWN=1
-. $TEST_BASE_DIR/test-functions
+
+# shellcheck source=test/test-functions
+. "${TEST_BASE_DIR:?}/test-functions"
UNIFIED_CGROUP_HIERARCHY=yes