diff mbox series

[nft,v2,3/4] tests: shell: README: clarify test file name convention

Message ID 20211105113911.153006-3-snemec@redhat.com
State Accepted
Delegated to: Pablo Neira
Headers show
Series [nft,v2,1/4] tests: shell: README: copy edit | expand

Commit Message

Štěpán Němec Nov. 5, 2021, 11:39 a.m. UTC
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>
---
 tests/shell/README | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/tests/shell/README b/tests/shell/README
index 4dd595d99556..ea2b0b98f95f 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