Collect also package lists.
authorZdeněk Šustr <sustr4@cesnet.cz>
Tue, 17 Apr 2012 11:38:56 +0000 (11:38 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Tue, 17 Apr 2012 11:38:56 +0000 (11:38 +0000)
org.glite.testsuites.ctb/gridsite/tests/gridsite-autonomous-test.sh

index a60d536..bb43bfe 100755 (executable)
@@ -121,6 +121,26 @@ 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 GridSiteInstall.sh >> report.twiki
 printf "</verbatim>