diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-07 10:39:33 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-11 10:05:23 +0100 |
commit | 02d041cbd1a0d0dd96d23dcc88cb0ba45e7ce0e9 (patch) | |
tree | 923c12621e95fb93bd2958df321076b84a53dd17 /tests/shell/testcases/chains | |
parent | 2545416782c89dd9080e6bdd4fadc2cb0333a9d2 (diff) |
tests: shell: skip multidevice chain tests if kernel lacks support
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/chains')
-rwxr-xr-x | tests/shell/testcases/chains/0042chain_variable_0 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shell/testcases/chains/0042chain_variable_0 b/tests/shell/testcases/chains/0042chain_variable_0 index a4b929f7..c5de495e 100755 --- a/tests/shell/testcases/chains/0042chain_variable_0 +++ b/tests/shell/testcases/chains/0042chain_variable_0 @@ -1,5 +1,7 @@ #!/bin/bash +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_netdev_chain_multidevice) + set -e ip link add name d23456789012345 type dummy |