summaryrefslogtreecommitdiffstats
path: root/iptables/tests/shell/testcases/ipt-restore/0007-flush-noflush_0
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-07-06 18:40:16 +0200
committerPhil Sutter <phil@nwl.cc>2020-12-21 18:33:21 +0100
commite28cf12cf50b9e2e0114f04331635fc122cb8aef (patch)
tree1efec036ca89152cb49d53e42b703375c1fdd504 /iptables/tests/shell/testcases/ipt-restore/0007-flush-noflush_0
parenta599efa74dd98c70332428b68970ae0e218600da (diff)
tests: shell: Drop any dump sorting in place
With iptables-nft-save output now sorted just like legacy one, no sorting to unify them is needed anymore. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/tests/shell/testcases/ipt-restore/0007-flush-noflush_0')
-rwxr-xr-xiptables/tests/shell/testcases/ipt-restore/0007-flush-noflush_04
1 files changed, 2 insertions, 2 deletions
diff --git a/iptables/tests/shell/testcases/ipt-restore/0007-flush-noflush_0 b/iptables/tests/shell/testcases/ipt-restore/0007-flush-noflush_0
index 029db223..e705b28c 100755
--- a/iptables/tests/shell/testcases/ipt-restore/0007-flush-noflush_0
+++ b/iptables/tests/shell/testcases/ipt-restore/0007-flush-noflush_0
@@ -18,7 +18,7 @@ EXPECT="*nat
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -j ACCEPT
COMMIT"
-diff -u -Z <(echo -e "$EXPECT" | sort) <($XT_MULTI iptables-save | grep -v '^#' | sort)
+diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI iptables-save | grep -v '^#')
$XT_MULTI iptables-restore <<EOF
*filter
@@ -39,4 +39,4 @@ COMMIT
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -j ACCEPT
COMMIT"
-diff -u -Z <(echo -e "$EXPECT" | sort) <($XT_MULTI iptables-save | grep -v '^#' | sort)
+diff -u -Z <(echo -e "$EXPECT") <($XT_MULTI iptables-save | grep -v '^#')