summaryrefslogtreecommitdiffstats
path: root/test/TEST-48-START-STOP-NO-RELOAD
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-48-START-STOP-NO-RELOAD
parentmount-util: make umount_and_rmdir_and_freep() cleanup handler deal with NULL (diff)
downloadsystemd-3f161ba9bc43e68e5ac3dd9ef18309e6e88bee89.tar.xz
systemd-3f161ba9bc43e68e5ac3dd9ef18309e6e88bee89.zip
test: make the test entrypoint scripts shellcheck-compliant
Diffstat (limited to 'test/TEST-48-START-STOP-NO-RELOAD')
-rwxr-xr-xtest/TEST-48-START-STOP-NO-RELOAD/test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/TEST-48-START-STOP-NO-RELOAD/test.sh b/test/TEST-48-START-STOP-NO-RELOAD/test.sh
index f6638b3241..68d584fe77 100755
--- a/test/TEST-48-START-STOP-NO-RELOAD/test.sh
+++ b/test/TEST-48-START-STOP-NO-RELOAD/test.sh
@@ -2,7 +2,10 @@
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
set -e
+
TEST_DESCRIPTION="test StartStopNoReload"
-. $TEST_BASE_DIR/test-functions
+
+# shellcheck source=test/test-functions
+. "${TEST_BASE_DIR:?}/test-functions"
do_test "$@" 48