From e28cf12cf50b9e2e0114f04331635fc122cb8aef Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Mon, 6 Jul 2020 18:40:16 +0200 Subject: 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 --- iptables/tests/shell/testcases/ipt-restore/0007-flush-noflush_0 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iptables/tests/shell/testcases/ipt-restore/0007-flush-noflush_0') 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 <