]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
tests: fix variable name to multi-binary
authorFlorian Westphal <fw@strlen.de>
Fri, 29 Jun 2018 11:51:28 +0000 (13:51 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 29 Jun 2018 12:37:38 +0000 (14:37 +0200)
Need to prepend XT_MULTI, not XTABLES_MULTI.

Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/tests/shell/testcases/chain/0004newchain_0
iptables/tests/shell/testcases/chain/0005rename_1

index b1a76637156c0ffb53a021d3418ff359c4d8202a..53f8a3accd69591b5e36ad77414ffe05e5037547 100755 (executable)
@@ -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
index 3ccdc033cb788ea2e2d69b7839fbbd41107e123f..975c8e196b9f54696d206efb75bf56b98e8f37ea 100755 (executable)
@@ -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