]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/shell: Allow to specify multiple testcases
authorPhil Sutter <phil@nwl.cc>
Mon, 19 Mar 2018 17:02:07 +0000 (18:02 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 20 Mar 2018 12:08:14 +0000 (13:08 +0100)
commit0f996897455d20958bdad23a1d467f68f1f81b18
treeaa6965e72f4871d30edd2a22ecac619b1485cb02
parentcf7aa031e920abc6246f0a876590019efcae639a
tests/shell: Allow to specify multiple testcases

Extend run-tests.sh a bit so that all remaining arguments after option
parsing are treated as filenames to test and complain if one doesn't
seem like such. This allows for doing stuff like:

| ./run-tests.sh testcases/include/000*

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/run-tests.sh