]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: json_echo: Skip if run as non-root
authorPhil Sutter <phil@nwl.cc>
Thu, 31 Aug 2023 10:50:54 +0000 (12:50 +0200)
committerPhil Sutter <phil@nwl.cc>
Thu, 11 Sep 2025 16:11:53 +0000 (18:11 +0200)
commit904ce10112c9d1c5a751dee214860d43b08b569d
treeb429961a8ceebc30be1993751ad55f4f22106dd1
parent15c01d744a6b8f428e785a36687e7ecdbc3e7a15
tests: json_echo: Skip if run as non-root

The test suite manipulates the kernel ruleset. Use the well-known return
code 77 to indicate test execution being skipped.

Signed-off-by: Phil Sutter <phil@nwl.cc>
tests/json_echo/run-test.py