]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: monitor: Excercise all syntaxes and variants by default
authorPhil Sutter <phil@nwl.cc>
Wed, 3 Sep 2025 15:41:23 +0000 (17:41 +0200)
committerPhil Sutter <phil@nwl.cc>
Thu, 11 Sep 2025 16:11:53 +0000 (18:11 +0200)
commit48550e8e9359c4a2683e4e53cc413c661800c12a
tree97cd04ddae2c522c4ccc59312f280d8a319c3373
parentd4b07cdae6de28744492fa104c57eeb9a8eaac9b
tests: monitor: Excercise all syntaxes and variants by default

Introduce -s/--standard flag to restrict execution to standard syntax
and let users select a specific variant by means of -e/--echo and
-m/--monitor flags. Run all four possible combinations by default.

To keep indenting sane, introduce run_testcase() executing tests in a
single test case for a given syntax and variant.

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