]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/shell: preserve result directory with NFT_TEST_FAIL_ON_SKIP
authorThomas Haller <thaller@redhat.com>
Fri, 6 Oct 2023 09:42:19 +0000 (11:42 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 10 Oct 2023 18:18:41 +0000 (20:18 +0200)
commit458298a4336477d1d6c2b1fe838e0e85a7464dc1
treed5787509faddca1ee530b76301974f93792ec0eb
parent8b3a902ef0b588a7e1b4d3b374a4f5f3c8f21089
tests/shell: preserve result directory with NFT_TEST_FAIL_ON_SKIP

On a successful run, the result directory will be deleted (unless run
with "-k|--keep-logs" option or NFT_TEST_KEEP_LOGS=y).

With NFT_TEST_FAIL_ON_SKIP=y, when there are no failures but skipped
tests, also preserve the result.

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/run-tests.sh