From: Phil Sutter Date: Thu, 20 May 2021 09:58:09 +0000 (+0200) Subject: tests: shell: Extend iptables-xml test a bit X-Git-Tag: v1.8.9~152 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d54ddf5cbd6b1ce272972784e3cc056651a819f;p=thirdparty%2Fiptables.git tests: shell: Extend iptables-xml test a bit 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 --- diff --git a/iptables/tests/shell/testcases/ipt-save/0006iptables-xml_0 b/iptables/tests/shell/testcases/ipt-save/0006iptables-xml_0 index 50c0cae8..bcfaad36 100755 --- a/iptables/tests/shell/testcases/ipt-save/0006iptables-xml_0 +++ b/iptables/tests/shell/testcases/ipt-save/0006iptables-xml_0 @@ -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)