summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/chains/0012reject_in_prerouting_1
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-07-16 19:13:22 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-07-21 14:20:18 +0200
commit6c3fbd20c9aeeefd75543d759370af11787873c9 (patch)
tree537729733fd5e2eec5e2fb4205fcb08e98bce5da /tests/shell/testcases/chains/0012reject_in_prerouting_1
parent4093337aab6fa9c0398ff2eab50f5513dec818c6 (diff)
tests: shell: remove check for reject from prerouting
It reports a failure with the following kernel patch: commit f53b9b0bdc59c0823679f2e3214e0d538f5951b9 Author: Laura Garcia Liebana <nevola@gmail.com> Date: Sun May 31 22:26:23 2020 +0200 netfilter: introduce support for reject at prerouting stage Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
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