Blame SOURCES/reduce-meta.patch

e965a0
unchanged:
e965a0
--- a/src/journal.sh
e965a0
+++ b/src/journal.sh
e965a0
@@ -922,7 +922,7 @@ __INTERNAL_WriteToMetafile(){
e965a0
 
e965a0
     line="$indent${element:+$element }--timestamp=\"${__INTERNAL_TIMESTAMP}\"$line"
e965a0
     lineraw="$indent${element:+$element }--timestamp=\"${__INTERNAL_TIMESTAMP}\"$lineraw"
e965a0
-    echo "#${lineraw:1}" >> $__INTERNAL_BEAKERLIB_METAFILE
e965a0
+    [[ -n "$DEBUG" ]] && echo "#${lineraw:1}" >> $__INTERNAL_BEAKERLIB_METAFILE
e965a0
     echo "$line" >> $__INTERNAL_BEAKERLIB_METAFILE
e965a0
 }
e965a0
 
e965a0
only in patch2:
e965a0
unchanged:
e965a0
--- a/src/test/journalTest.sh
e965a0
+++ b/src/test/journalTest.sh
e965a0
@@ -26,7 +26,7 @@ test_rlJournalStart(){
e965a0
     assertTrue "journal is well-formed XML" "xmllint $__INTERNAL_BEAKERLIB_JOURNAL >/dev/null"
e965a0
 
e965a0
     # existing journal is not overwritten
e965a0
-    silentIfNotDebug 'rlLog "I am"'
e965a0
+    silentIfNotDebug 'DEBUG=1 rlLog "I am"'
e965a0
     rlJournalStart
e965a0
     assertTrue "existing meta not overwritten" \
e965a0
             "grep 'I\\\ am' $__INTERNAL_BEAKERLIB_METAFILE"