Blame SOURCES/0058-fix-tests-functions-define-HOST_SUPPORTS_IP6TABLES-v.patch

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