]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
tests: shell: Extend iptables-xml test a bit
authorPhil Sutter <phil@nwl.cc>
Thu, 20 May 2021 09:58:09 +0000 (11:58 +0200)
committerPhil Sutter <phil@nwl.cc>
Sat, 11 Jun 2022 09:47:03 +0000 (11:47 +0200)
Call with --combine as well, even though output doesn't differ. Also
there's no need to skip for xtables-nft-multi, it provides the same
functionality.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/tests/shell/testcases/ipt-save/0006iptables-xml_0

index 50c0cae88834165d578cb7e9b7a271f3bfa59903..bcfaad36f1249c39266192702bb439a0b38929f9 100755 (executable)
@@ -1,13 +1,5 @@
 #!/bin/bash
 
-case "$(basename $XT_MULTI)" in
-       xtables-legacy-multi)
-               ;;
-       *)
-               echo "skip $XT_MULTI"
-               exit 0
-               ;;
-esac
-
 dump=$(dirname $0)/dumps/fedora27-iptables
 diff -u -Z <(cat ${dump}.xml) <($XT_MULTI iptables-xml <$dump)
+diff -u -Z <(cat ${dump}.xml) <($XT_MULTI iptables-xml -c <$dump)