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