summaryrefslogtreecommitdiff
path: root/test/TEST-30-ONCLOCKCHANGE/test.sh
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-30-ONCLOCKCHANGE/test.sh
parent4d686e6b0b12ffe9a1104ac23fee97c0de8a0730 (diff)
downloadsystemd-3f161ba9bc43e68e5ac3dd9ef18309e6e88bee89.tar.gz
test: make the test entrypoint scripts shellcheck-compliant
Diffstat (limited to 'test/TEST-30-ONCLOCKCHANGE/test.sh')
-rwxr-xr-xtest/TEST-30-ONCLOCKCHANGE/test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/TEST-30-ONCLOCKCHANGE/test.sh b/test/TEST-30-ONCLOCKCHANGE/test.sh
index 4723e7b0be..6a201514dc 100755
--- a/test/TEST-30-ONCLOCKCHANGE/test.sh
+++ b/test/TEST-30-ONCLOCKCHANGE/test.sh
@@ -1,7 +1,10 @@
#!/usr/bin/env bash
set -e
+
TEST_DESCRIPTION="test OnClockChange= + OnTimezoneChange="
TEST_NO_NSPAWN=1
-. $TEST_BASE_DIR/test-functions
+
+# shellcheck source=test/test-functions
+. "${TEST_BASE_DIR:?}/test-functions"
do_test "$@" 30