Process section was missing from reports
authorZdeněk Šustr <sustr4@cesnet.cz>
Tue, 5 Feb 2013 10:56:56 +0000 (10:56 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 7 Feb 2013 14:03:20 +0000 (15:03 +0100)
org.glite.testsuites.ctb/CANL-C/tests/canl-autonomous-test.sh

index b887039..9078c48 100755 (executable)
@@ -114,7 +114,24 @@ ENDTIME=`date +%s`
 
 #Generating report section
 gen_deployment_header $ENDTIME $STARTTIME "$SCENARIO" > report.twiki
+echo "$SCENARIO" | grep -E -i "upgrade|update" > /dev/null
+if [ $? -eq 0 ]; then
+        printf "\n---++++ Production Repo Contents
 
+<verbatim>\n" >> report.twiki
+        cat ./prod_packages.txt >> report.twiki
+        printf "</verbatim>\n" >> report.twiki
+fi
+
+printf "\n---++++ Test Repo Contents
+
+<verbatim>\n" >> report.twiki
+cat ./repo_packages.txt >> report.twiki
+printf "</verbatim>
+
+---++++ Process
+
+<verbatim>\n" >> report.twiki
 cat caNlInstall.sh >> report.twiki
 printf "</verbatim>