|
|
136e2c |
From 6c95f06878e49de3e74b049378e88e76e9f342b2 Mon Sep 17 00:00:00 2001
|
|
|
136e2c |
From: Eric Garver <eric@garver.life>
|
|
|
136e2c |
Date: Wed, 16 Oct 2019 12:34:06 -0400
|
|
|
136e2c |
Subject: [PATCH 113/122] fix: test: use debug output based on autotest
|
|
|
136e2c |
variable
|
|
|
136e2c |
|
|
|
136e2c |
Instead of the makefile/environment variables. This allows "./testsuite
|
|
|
136e2c |
-d" to function as expected.
|
|
|
136e2c |
|
|
|
136e2c |
(cherry picked from commit a464e068fb500e7cad59c368b4886b465c487768)
|
|
|
136e2c |
(cherry picked from commit 7515f5e8738a7d9ef51fe5848db9ea9105251bd9)
|
|
|
136e2c |
---
|
|
|
136e2c |
src/tests/functions.at | 5 +----
|
|
|
136e2c |
1 file changed, 1 insertion(+), 4 deletions(-)
|
|
|
136e2c |
|
|
|
136e2c |
diff --git a/src/tests/functions.at b/src/tests/functions.at
|
|
|
136e2c |
index 02efe8ea431b..209f0f5d2ea9 100644
|
|
|
136e2c |
--- a/src/tests/functions.at
|
|
|
136e2c |
+++ b/src/tests/functions.at
|
|
|
136e2c |
@@ -11,10 +11,7 @@ m4_define([FWD_STOP_FIREWALLD], [
|
|
|
136e2c |
m4_define([FWD_START_FIREWALLD], [
|
|
|
136e2c |
FIREWALLD_ARGS="--nofork --nopid --log-file ./firewalld.log --system-config ./"
|
|
|
136e2c |
dnl if testsuite ran with debug flag, add debug output
|
|
|
136e2c |
- case "${TESTSUITEFLAGS}" in
|
|
|
136e2c |
- *-d*|*--debug*) FIREWALLD_ARGS="--debug=3 ${FIREWALLD_ARGS}";;
|
|
|
136e2c |
- *) :;;
|
|
|
136e2c |
- esac
|
|
|
136e2c |
+ ${at_debug_p} && FIREWALLD_ARGS="--debug=3 ${FIREWALLD_ARGS}"
|
|
|
136e2c |
if test "x${FIREWALLD_DEFAULT_CONFIG}" != x ; then
|
|
|
136e2c |
FIREWALLD_ARGS+=" --default-config ${FIREWALLD_DEFAULT_CONFIG}"
|
|
|
136e2c |
fi
|
|
|
136e2c |
--
|
|
|
136e2c |
2.23.0
|
|
|
136e2c |
|