summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/rule_management/0002insertposition_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/rule_management/0002insertposition_0')
-rwxr-xr-xtests/shell/testcases/rule_management/0002insertposition_016
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/shell/testcases/rule_management/0002insertposition_0 b/tests/shell/testcases/rule_management/0002insertposition_0
index cf8a568d..e9f886fb 100755
--- a/tests/shell/testcases/rule_management/0002insertposition_0
+++ b/tests/shell/testcases/rule_management/0002insertposition_0
@@ -9,19 +9,3 @@ $NFT add chain t c
$NFT add rule t c accept # should have handle 2
$NFT add rule t c accept # should have handle 3
$NFT insert rule t c position 2 drop
-
-EXPECTED="table ip t {
- chain c {
- drop
- accept
- accept
- }
-}"
-
-GET="$($NFT list ruleset)"
-
-if [ "$EXPECTED" != "$GET" ] ; then
- DIFF="$(which diff)"
- [ -x $DIFF ] && $DIFF -u <(echo "$EXPECTED") <(echo "$GET")
- exit 1
-fi