summaryrefslogtreecommitdiffstats
path: root/test/TEST-31-DEVICE-ENUMERATION
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-31-DEVICE-ENUMERATION
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-31-DEVICE-ENUMERATION')
-rwxr-xr-xtest/TEST-31-DEVICE-ENUMERATION/test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/TEST-31-DEVICE-ENUMERATION/test.sh b/test/TEST-31-DEVICE-ENUMERATION/test.sh
index 4fbd38d2d0..a474ec84ed 100755
--- a/test/TEST-31-DEVICE-ENUMERATION/test.sh
+++ b/test/TEST-31-DEVICE-ENUMERATION/test.sh
@@ -1,9 +1,12 @@
#!/usr/bin/env bash
set -e
+
TEST_DESCRIPTION="plugged -> dead -> plugged issue #11997"
TEST_NO_NSPAWN=1
-. $TEST_BASE_DIR/test-functions
+# shellcheck source=test/test-functions
+. "${TEST_BASE_DIR:?}/test-functions"
+
QEMU_TIMEOUT=300
do_test "$@" 31