summaryrefslogtreecommitdiffstats
path: root/test/TEST-01-BASIC/test.sh
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-01-BASIC/test.sh
parentMerge pull request #19383 from keszybz/test58-fixes (diff)
downloadsystemd-c4cd6205e0f89ea482b338f41e70d3594a7d5e37.tar.xz
systemd-c4cd6205e0f89ea482b338f41e70d3594a7d5e37.zip
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-01-BASIC/test.sh')
-rwxr-xr-xtest/TEST-01-BASIC/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
index 3de0e51d5a..d42c0df9a0 100755
--- a/test/TEST-01-BASIC/test.sh
+++ b/test/TEST-01-BASIC/test.sh
@@ -16,4 +16,4 @@ test_append_files() {
cp -v "$TEST_UNITS_DIR"/{testsuite-01,end}.service "$TEST_UNITS_DIR/testsuite.target" "$dst"
}
-do_test "$@" 01
+do_test "$@"