diff options
Diffstat (limited to 'tests/shell/testcases/flowtable/0002create_flowtable_0')
-rwxr-xr-x | tests/shell/testcases/flowtable/0002create_flowtable_0 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/shell/testcases/flowtable/0002create_flowtable_0 b/tests/shell/testcases/flowtable/0002create_flowtable_0 index b6941c58..4c85c3f8 100755 --- a/tests/shell/testcases/flowtable/0002create_flowtable_0 +++ b/tests/shell/testcases/flowtable/0002create_flowtable_0 @@ -2,11 +2,11 @@ set -e $NFT add table t -$NFT add flowtable t f { hook ingress priority 10 \; devices = { eth0, wlan0 }\; } -if $NFT create flowtable t f { hook ingress priority 10 \; devices = { eth0, wlan0 }\; } 2>/dev/null ; then +$NFT add flowtable t f { hook ingress priority 10 \; devices = { lo }\; } +if $NFT create flowtable t f { hook ingress priority 10 \; devices = { lo }\; } 2>/dev/null ; then echo "E: flowtable creation not failing on existing set" >&2 exit 1 fi -$NFT add flowtable t f { hook ingress priority 10 \; devices = { eth0, wlan0 }\; } +$NFT add flowtable t f { hook ingress priority 10 \; devices = { lo }\; } exit 0 |