Blame SOURCES/0014-tests-monitor-Support-testing-host-s-nft-binary.patch

911625
From 18e1b545cbd2d055b16ec3bf5f481d8032dc5dbe Mon Sep 17 00:00:00 2001
911625
From: Phil Sutter <psutter@redhat.com>
911625
Date: Wed, 12 Feb 2020 22:35:27 +0100
911625
Subject: [PATCH] tests: monitor: Support testing host's nft binary
911625
911625
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1754047
911625
Upstream Status: nftables commit 15ede6857c8c5
911625
911625
commit 15ede6857c8c578ec6211c8b68424183ba1baf1a
911625
Author: Phil Sutter <phil@nwl.cc>
911625
Date:   Wed Feb 5 19:48:53 2020 +0100
911625
911625
    tests: monitor: Support testing host's nft binary
911625
911625
    Add support for -H/--host flag to use 'nft' tool from $PATH instead of
911625
    the local one.
911625
911625
    Signed-off-by: Phil Sutter <phil@nwl.cc>
911625
---
911625
 tests/monitor/run-tests.sh | 4 ++++
911625
 1 file changed, 4 insertions(+)
911625
911625
diff --git a/tests/monitor/run-tests.sh b/tests/monitor/run-tests.sh
911625
index efacdaa..ffb833a 100755
911625
--- a/tests/monitor/run-tests.sh
911625
+++ b/tests/monitor/run-tests.sh
911625
@@ -119,6 +119,10 @@ while [ -n "$1" ]; do
911625
 		test_json=true
911625
 		shift
911625
 		;;
911625
+	-H|--host)
911625
+		nft=nft
911625
+		shift
911625
+		;;
911625
 	testcases/*.t)
911625
 		testcases+=" $1"
911625
 		shift
911625
-- 
911625
1.8.3.1
911625