summaryrefslogtreecommitdiff
path: root/test/TEST-27-STDOUTFILE
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-27-STDOUTFILE
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-27-STDOUTFILE')
-rwxr-xr-xtest/TEST-27-STDOUTFILE/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-27-STDOUTFILE/test.sh b/test/TEST-27-STDOUTFILE/test.sh
index f19ac4ac8c..144b88fa30 100755
--- a/test/TEST-27-STDOUTFILE/test.sh
+++ b/test/TEST-27-STDOUTFILE/test.sh
@@ -6,4 +6,4 @@ TEST_DESCRIPTION="test StandardOutput=file:"
# shellcheck source=test/test-functions
. "${TEST_BASE_DIR:?}/test-functions"
-do_test "$@" 27
+do_test "$@"