From 2d103fce8dfacd7e063d7ecf60eaafe9266b762b Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 7 Mar 2019 20:43:56 +0100 Subject: 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 --- tests/shell/testcases/transactions/0045anon-unbind_0 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tests/shell/testcases/transactions/0045anon-unbind_0 (limited to 'tests') 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" -- cgit v1.2.3