From 8123b9f3a3f114588ca3feea6386da2a3618dbca Mon Sep 17 00:00:00 2001 From: Eric Garver Date: Thu, 30 May 2019 09:45:59 -0400 Subject: [PATCH 58/73] fix: tests/functions: define HOST_SUPPORTS_IP6TABLES value immediately (cherry picked from commit 6644eddbb219d83f4cb59523bfa873b4b1869e78) (cherry picked from commit 92d2b3673de44b2c1bb6cdfd1ff49df0158df374) --- src/tests/functions.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/functions.at b/src/tests/functions.at index 4edc484ca402..542b6b4bfc25 100644 --- a/src/tests/functions.at +++ b/src/tests/functions.at @@ -385,13 +385,13 @@ m4_ifnblank( m4_define([NFT_NUMERIC_ARGS], m4_esyscmd([nft -h |grep "numeric-protocol" >/dev/null && echo -n "" || { echo -n "-" && echo -n "nn"; } ])) -m4_define([HOST_SUPPORTS_IP6TABLES], [m4_esyscmd( +m4_define([HOST_SUPPORTS_IP6TABLES], m4_esyscmd( if IP6TABLES -L >/dev/null 2>&1; then echo -n "yes" else echo -n "no" fi -)]) +)) m4_define([IF_IPV6_SUPPORTED], [ m4_ifdef([TESTING_FIREWALL_OFFLINE_CMD], [$1], [ -- 2.20.1