summaryrefslogtreecommitdiffstats
path: root/test/TEST-26-SETENV
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-26-SETENV
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-26-SETENV')
-rwxr-xr-xtest/TEST-26-SETENV/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-26-SETENV/test.sh b/test/TEST-26-SETENV/test.sh
index 2523e20929..fe4c517895 100755
--- a/test/TEST-26-SETENV/test.sh
+++ b/test/TEST-26-SETENV/test.sh
@@ -6,4 +6,4 @@ TEST_DESCRIPTION="test setenv"
# shellcheck source=test/test-functions
. "${TEST_BASE_DIR:?}/test-functions"
-do_test "$@" 26
+do_test "$@"