From: Pablo Neira Ayuso Date: Thu, 16 Jul 2020 17:13:22 +0000 (+0200) Subject: tests: shell: remove check for reject from prerouting X-Git-Tag: v0.9.7~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c3fbd20c9aeeefd75543d759370af11787873c9;p=thirdparty%2Fnftables.git tests: shell: remove check for reject from prerouting It reports a failure with the following kernel patch: commit f53b9b0bdc59c0823679f2e3214e0d538f5951b9 Author: Laura Garcia Liebana Date: Sun May 31 22:26:23 2020 +0200 netfilter: introduce support for reject at prerouting stage Signed-off-by: Pablo Neira Ayuso --- 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 0ee86c110..000000000 --- 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