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

1dfe16
From edb4469374232d11b4f390ede726683ef5d3dbe7 Mon Sep 17 00:00:00 2001
1dfe16
From: Eric Garver <eric@garver.life>
1dfe16
Date: Thu, 30 May 2019 09:45:59 -0400
1dfe16
Subject: [PATCH 39/39] fix: tests/functions: define HOST_SUPPORTS_IP6TABLES
1dfe16
 value immediately
1dfe16
1dfe16
(cherry picked from commit 6644eddbb219d83f4cb59523bfa873b4b1869e78)
1dfe16
---
1dfe16
 src/tests/functions.at | 4 ++--
1dfe16
 1 file changed, 2 insertions(+), 2 deletions(-)
1dfe16
1dfe16
diff --git a/src/tests/functions.at b/src/tests/functions.at
1dfe16
index c21831839662..fae1a78f6005 100644
1dfe16
--- a/src/tests/functions.at
1dfe16
+++ b/src/tests/functions.at
1dfe16
@@ -361,13 +361,13 @@ m4_ifnblank(
1dfe16
     [m4_define([HOST_SUPPORTS_NFT_FIB], [no])]
1dfe16
 )
1dfe16
 
1dfe16
-m4_define([HOST_SUPPORTS_IP6TABLES], [m4_esyscmd(
1dfe16
+m4_define([HOST_SUPPORTS_IP6TABLES], m4_esyscmd(
1dfe16
     if IP6TABLES -L >/dev/null 2>&1; then
1dfe16
         echo -n "yes"
1dfe16
     else
1dfe16
         echo -n "no"
1dfe16
     fi
1dfe16
-)])
1dfe16
+))
1dfe16
 
1dfe16
 m4_define([IF_IPV6_SUPPORTED], [
1dfe16
     m4_ifdef([TESTING_FIREWALL_OFFLINE_CMD], [$1], [
1dfe16
-- 
1dfe16
2.20.1
1dfe16