Blame SOURCES/var-TEST.patch

e965a0
From 30c5a9b8982e6342cfff28871083f36efc80f52b Mon Sep 17 00:00:00 2001
e965a0
From: Dalibor Pospisil <dapospis@redhat.com>
e965a0
Date: Tue, 12 Dec 2017 14:34:35 +0100
e965a0
Subject: [PATCH 14/18] leave variable TEST intact
e965a0
e965a0
---
e965a0
 src/journal.sh | 10 +++++-----
e965a0
 1 file changed, 5 insertions(+), 5 deletions(-)
e965a0
e965a0
diff --git a/src/journal.sh b/src/journal.sh
e965a0
index 092de14..8e68fb3 100644
e965a0
--- a/src/journal.sh
e965a0
+++ b/src/journal.sh
e965a0
@@ -432,9 +432,9 @@ rlJournalPrintText(){
e965a0
     cat "$textfile"
e965a0
 
e965a0
     local __INTERNAL_LogText_no_file=1
e965a0
-    __INTERNAL_PrintHeadLog "${TEST}" 2>&1
e965a0
+    __INTERNAL_PrintHeadLog "${__INTERNAL_TEST_NAME}" 2>&1
e965a0
     __INTERNAL_LogText "Phases: $__INTERNAL_PHASES_PASSED good, $__INTERNAL_PHASES_FAILED bad" LOG 2>&1
e965a0
-    __INTERNAL_LogText "RESULT: $TEST" $__INTERNAL_PHASES_WORST_RESULT 2>&1
e965a0
+    __INTERNAL_LogText "RESULT: $__INTERNAL_TEST_NAME" $__INTERNAL_PHASES_WORST_RESULT 2>&1
e965a0
 
e965a0
     return 0
e965a0
 }
e965a0
@@ -779,9 +779,9 @@ __INTERNAL_CreateHeader(){
e965a0
     __INTERNAL_LogText "    Test duration : " 2> /dev/null
e965a0
 
e965a0
     # Test name
e965a0
-    TEST="${TEST:-unknown}"
e965a0
-    __INTERNAL_WriteToMetafile testname -- "${TEST}"
e965a0
-    __INTERNAL_LogText "    Test name     : ${TEST}" 2> /dev/null
e965a0
+    __INTERNAL_TEST_NAME="${TEST:-unknown}"
e965a0
+    __INTERNAL_WriteToMetafile testname -- "${__INTERNAL_TEST_NAME}"
e965a0
+    __INTERNAL_LogText "    Test name     : ${__INTERNAL_TEST_NAME}" 2> /dev/null
e965a0
 
e965a0
     # OS release
e965a0
     local release=$(cat /etc/redhat-release)
e965a0
-- 
e965a0
2.14.3
e965a0