diff options
author | Florian Westphal <fw@strlen.de> | 2019-03-07 20:43:56 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2019-03-07 21:08:04 +0100 |
commit | 2d103fce8dfacd7e063d7ecf60eaafe9266b762b (patch) | |
tree | 6497442ae603c91d23fbe439a235fb35dc77ddc3 /tests/shell | |
parent | d34a6bacc6be36388a72350fe3c9e0d9ce81ac5a (diff) |
tests: add test case for anon set abort.
This triggers kernel crash in 5.0, see
https://bugzilla.netfilter.org/show_bug.cgi?id=1325
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell')
-rwxr-xr-x | tests/shell/testcases/transactions/0045anon-unbind_0 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/shell/testcases/transactions/0045anon-unbind_0 b/tests/shell/testcases/transactions/0045anon-unbind_0 new file mode 100755 index 00000000..1e16af16 --- /dev/null +++ b/tests/shell/testcases/transactions/0045anon-unbind_0 @@ -0,0 +1,10 @@ +#!/bin/bash + +RULESET='table inet filter { + chain antileak { + udp dport { 137, 138 } drop comment "NetBT" + } +}' + +set -e +$NFT -c -f - <<< "$RULESET" |