From 27f7db219eb9452fcf2a290a5713e81cd29e3f43 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 29 Jun 2018 13:51:28 +0200 Subject: tests: fix variable name to multi-binary Need to prepend XT_MULTI, not XTABLES_MULTI. Signed-off-by: Florian Westphal --- iptables/tests/shell/testcases/chain/0004newchain_0 | 8 ++++---- iptables/tests/shell/testcases/chain/0005rename_1 | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'iptables/tests') 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 -- cgit v1.2.3