Include package lists in report
authorZdeněk Šustr <sustr4@cesnet.cz>
Tue, 17 Apr 2012 11:32:33 +0000 (11:32 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Tue, 17 Apr 2012 11:32:33 +0000 (11:32 +0000)
org.glite.testsuites.ctb/PX/tests/px-autonomous-test.sh

index 87f5dc0..4ed532e 100755 (executable)
@@ -143,6 +143,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 "---++++ Production Repo Contents
+
+<verbatim>\n" >> report.twiki
+       cat ./prod_packages.txt >> report.twiki
+       printf "</verbatim>\n" >> report.twiki
+fi
+
+printf "---++++ Test Repo Contents
+
+<verbatim>\n" >> report.twiki
+cat ./repo_packages.txt >> report.twiki
+printf "</verbatim>
+
+---++++ Process
+
+<verbatim>\n" >> report.twiki
 cat PXinstall.sh >> report.twiki
 printf "</verbatim>