]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: Prepare exit codes for automake
authorPhil Sutter <phil@nwl.cc>
Thu, 31 Aug 2023 10:44:55 +0000 (12:44 +0200)
committerPhil Sutter <phil@nwl.cc>
Thu, 11 Sep 2025 16:11:53 +0000 (18:11 +0200)
commit15c01d744a6b8f428e785a36687e7ecdbc3e7a15
tree7e2743318b6e5dd314d5db04c45d4cc38ada6256
parent2c10b95fc96239e6ca8a328bb76c93cadafa9318
tests: Prepare exit codes for automake

Make the test suite runners exit 77 when requiring root and running as
regular user, exit 99 for internal errors (unrelated to test cases) and
exit 1 (or any free non-zero value) to indicate test failures.

Signed-off-by: Phil Sutter <phil@nwl.cc>
tests/monitor/run-tests.sh
tests/py/nft-test.py
tests/shell/run-tests.sh