summaryrefslogtreecommitdiff
path: root/test/TEST-42-EXECSTOPPOST
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2021-04-26 19:20:18 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2021-04-26 19:20:18 +0200
commitc4cd6205e0f89ea482b338f41e70d3594a7d5e37 (patch)
treefdbcd28a3232086073b89d6e141c38b00415cfc4 /test/TEST-42-EXECSTOPPOST
parent732a487fadfe66dcd910183d68131d3b8e3bbbe6 (diff)
downloadsystemd-c4cd6205e0f89ea482b338f41e70d3594a7d5e37.tar.gz
test: "detect" the test number automagically
Specifying the test number manually is tedious and prone to errors (as recently proven). Since we have all the necessary data to work out the test number, let's do it automagically.
Diffstat (limited to 'test/TEST-42-EXECSTOPPOST')
-rwxr-xr-xtest/TEST-42-EXECSTOPPOST/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-42-EXECSTOPPOST/test.sh b/test/TEST-42-EXECSTOPPOST/test.sh
index 8e25dd8f18..59f8868af2 100755
--- a/test/TEST-42-EXECSTOPPOST/test.sh
+++ b/test/TEST-42-EXECSTOPPOST/test.sh
@@ -6,4 +6,4 @@ TEST_DESCRIPTION="test that ExecStopPost= is always run"
# shellcheck source=test/test-functions
. "${TEST_BASE_DIR:?}/test-functions"
-do_test "$@" 42
+do_test "$@"