diff options
author | Florian Westphal <fw@strlen.de> | 2023-09-18 12:28:15 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-09-18 13:08:25 +0200 |
commit | bc4f67e0bc08da4008a72ed5196b2638c513df15 (patch) | |
tree | c561e0df807474633a29fe876de17e8d1d89e16d /tests/shell/testcases/chains/0041chain_binding_0 | |
parent | 9b100024a45996bae00f858a812ed8f4c9c37a6e (diff) |
tests/shell: add and use chain binding feature probe
Alter 30s-stress to suppress anon chains when its unuspported.
Note that 30s-stress is optionally be run standalone, so also update
the test script.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'tests/shell/testcases/chains/0041chain_binding_0')
-rwxr-xr-x | tests/shell/testcases/chains/0041chain_binding_0 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/shell/testcases/chains/0041chain_binding_0 b/tests/shell/testcases/chains/0041chain_binding_0 index 4b541bb5..141a4b6d 100755 --- a/tests/shell/testcases/chains/0041chain_binding_0 +++ b/tests/shell/testcases/chains/0041chain_binding_0 @@ -6,6 +6,11 @@ if [ $? -ne 1 ]; then exit 1 fi +if [ $NFT_TEST_HAVE_chain_binding = "n" ] ; then + echo "Test partially skipped due to NFT_TEST_HAVE_chain_binding=n" + exit 77 +fi + set -e EXPECTED="table inet x { |