Include package list in report.
authorZdeněk Šustr <sustr4@cesnet.cz>
Tue, 17 Apr 2012 11:35:49 +0000 (11:35 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Tue, 17 Apr 2012 11:35:49 +0000 (11:35 +0000)
org.glite.testsuites.ctb/LB/tests/lb-autonomous-test.sh
org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh

index 7712e11..48ec0c4 100755 (executable)
@@ -109,6 +109,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 LBinstall.sh >> report.twiki
 printf "</verbatim>
 
index 5536d64..151d6c6 100755 (executable)
@@ -205,8 +205,7 @@ Clean installation according to EMI guidelines (CA certificates, proxy certifica
 | Duration | `expr $DURATION / 60` min |
 | Testbed uptime | =`uptime | sed 's/^\s*//'`= |
 
----++++ Process
-<verbatim>\n"
+"
 }
 
 function gen_repo_lists()