]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/shell: interpret an exit code of 77 from scripts as "skipped"
authorThomas Haller <thaller@redhat.com>
Wed, 6 Sep 2023 11:52:11 +0000 (13:52 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 7 Sep 2023 17:35:20 +0000 (19:35 +0200)
commitdf43636341a5bff84e22663552e5ccd53e88a51c
tree771ab1a3c25aedbb0c06ed709c815358f29cc04a
parentae54726dbfe83f07ba5d6e72d2f101b6475fbd97
tests/shell: interpret an exit code of 77 from scripts as "skipped"

Allow scripts to indicate that a test could not run by exiting 77.

"77" is chosen as exit code from automake's testsuites ([1]). Compare to
git-bisect which chooses 125 to indicate skipped.

[1] https://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/helpers/test-wrapper.sh
tests/shell/run-tests.sh