Blame SOURCES/0007-test-new-macro-CHECK_MODULE_PROTO_GRE.patch

8a3219
From cedbd55380bfcb60bc600d8d8833a4d9abab1080 Mon Sep 17 00:00:00 2001
8a3219
From: Eric Garver <eric@garver.life>
8a3219
Date: Mon, 17 Jun 2019 14:30:34 -0400
8a3219
Subject: [PATCH 07/20] test: new macro CHECK_MODULE_PROTO_GRE
8a3219
8a3219
(cherry picked from commit af89dacab41d6dc6a42e992aa74a2d6f4a420abc)
8a3219
---
8a3219
 src/tests/functions.at | 4 ++++
8a3219
 1 file changed, 4 insertions(+)
8a3219
8a3219
diff --git a/src/tests/functions.at b/src/tests/functions.at
8a3219
index 69f71c133d15..7a0242cb33fb 100644
8a3219
--- a/src/tests/functions.at
8a3219
+++ b/src/tests/functions.at
8a3219
@@ -444,6 +444,10 @@ m4_define([CHECK_NFT_CT_HELPER], [
8a3219
     ])
8a3219
 ])
8a3219
 
8a3219
+m4_define([CHECK_MODULE_PROTO_GRE], [
8a3219
+    AT_SKIP_IF([! NS_CMD([modinfo nf_conntrack_proto_gre])])
8a3219
+])
8a3219
+
8a3219
 m4_define([HOST_SUPPORTS_NFT_FIB], m4_esyscmd([
8a3219
     KERNEL_MAJOR=`uname -r | cut -d. -f1`
8a3219
     KERNEL_MINOR=`uname -r | cut -d. -f2`
8a3219
-- 
8a3219
2.20.1
8a3219