summaryrefslogtreecommitdiffstats
path: root/tests/shell
diff options
context:
space:
mode:
authorŠtěpán Němec <snemec@redhat.com>2021-11-05 12:39:10 +0100
committerPhil Sutter <phil@nwl.cc>2021-11-05 14:21:26 +0100
commitf5cf15a680e18d06be711c81f21b98ef247ff398 (patch)
tree493208f4236261f76ce57451e5419662f3325cfb /tests/shell
parentae5b4617fdbd4d3e0d933c1eac22f41e53365407 (diff)
tests: shell: README: clarify test file name convention
Since commit 4d26b6dd3c4c, test file name suffix no longer reflects expected exit code in all cases. Move the sentence "Since they are located with `find', test files can be put in any subdirectory." to a separate paragraph. Fixes: 4d26b6dd3c4c ("tests: shell: change all test scripts to return 0") Signed-off-by: Štěpán Němec <snemec@redhat.com> Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests/shell')
-rw-r--r--tests/shell/README7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/shell/README b/tests/shell/README
index 4dd595d9..ea2b0b98 100644
--- a/tests/shell/README
+++ b/tests/shell/README
@@ -10,8 +10,11 @@ To run the test suite (as root):
# ./run-tests.sh
Test files are executable files matching the pattern <<name_N>>,
-where N is the expected return code of the executable. Since they
-are located with `find', test files can be put in any subdirectory.
+where N should be 0 in all new tests. All tests should return 0 on
+success.
+
+Since they are located with `find', test files can be put in any
+subdirectory.
You can turn on a verbose execution by calling:
# ./run-tests.sh -v