summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/chains/0012reject_in_prerouting_1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/chains/0012reject_in_prerouting_1')
-rwxr-xr-xtests/shell/testcases/chains/0012reject_in_prerouting_111
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/shell/testcases/chains/0012reject_in_prerouting_1 b/tests/shell/testcases/chains/0012reject_in_prerouting_1
deleted file mode 100755
index 0ee86c11..00000000
--- a/tests/shell/testcases/chains/0012reject_in_prerouting_1
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-set -e
-
-$NFT add table t
-$NFT add chain t prerouting {type filter hook prerouting priority 0 \; }
-
-# wrong hook prerouting, only input/forward/output is valid
-$NFT add rule t prerouting reject 2>/dev/null || exit 0
-echo "E: accepted reject in prerouting hook" >&2
-exit 1