]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: shell: README: clarify test file name convention
authorŠtěpán Němec <snemec@redhat.com>
Fri, 5 Nov 2021 11:39:10 +0000 (12:39 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 5 Nov 2021 13:21:26 +0000 (14:21 +0100)
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>
tests/shell/README

index 4dd595d99556860e5817423c3f26734cf3ba6a6b..ea2b0b98f95f50a00c82c079778d228b47677286 100644 (file)
@@ -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