From: Florian Westphal Date: Fri, 29 Jun 2018 11:51:28 +0000 (+0200) Subject: tests: fix variable name to multi-binary X-Git-Tag: v1.8.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27f7db219eb9452fcf2a290a5713e81cd29e3f43;p=thirdparty%2Fiptables.git tests: fix variable name to multi-binary Need to prepend XT_MULTI, not XTABLES_MULTI. Signed-off-by: Florian Westphal --- diff --git a/iptables/tests/shell/testcases/chain/0004newchain_0 b/iptables/tests/shell/testcases/chain/0004newchain_0 index b1a76637..53f8a3ac 100755 --- a/iptables/tests/shell/testcases/chain/0004newchain_0 +++ b/iptables/tests/shell/testcases/chain/0004newchain_0 @@ -2,8 +2,8 @@ set -e -$XTABLES_MULTI iptables -N c1 -$XTABLES_MULTI ip6tables -N c1 +$XT_MULTI iptables -N c1 +$XT_MULTI ip6tables -N c1 -$XTABLES_MULTI iptables -N c2 -$XTABLES_MULTI ip6tables -N c2 +$XT_MULTI iptables -N c2 +$XT_MULTI ip6tables -N c2 diff --git a/iptables/tests/shell/testcases/chain/0005rename_1 b/iptables/tests/shell/testcases/chain/0005rename_1 index 3ccdc033..975c8e19 100755 --- a/iptables/tests/shell/testcases/chain/0005rename_1 +++ b/iptables/tests/shell/testcases/chain/0005rename_1 @@ -1,12 +1,12 @@ #!/bin/bash -$XTABLES_MULTI iptables -N c1 || exit 0 -$XTABLES_MULTI iptables -N c2 || exit 0 -$XTABLES_MULTI iptables -E c1 c2 || exit 1 +$XT_MULTI iptables -N c1 || exit 0 +$XT_MULTI iptables -N c2 || exit 0 +$XT_MULTI iptables -E c1 c2 || exit 1 -$XTABLES_MULTI ip6tables -N c1 || exit 0 -$XTABLES_MULTI ip6tables -N c2 || exit 0 -$XTABLES_MULTI ip6tables -E c1 c2 || exit 1 +$XT_MULTI ip6tables -N c1 || exit 0 +$XT_MULTI ip6tables -N c2 || exit 0 +$XT_MULTI ip6tables -E c1 c2 || exit 1 echo "E: Renamed with existing chain" >&2 exit 0