From abb412eff6e5750c43707d5d40635177b4e25bea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Tue, 17 Apr 2012 11:32:33 +0000 Subject: [PATCH] Include package lists in report --- .../PX/tests/px-autonomous-test.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/org.glite.testsuites.ctb/PX/tests/px-autonomous-test.sh b/org.glite.testsuites.ctb/PX/tests/px-autonomous-test.sh index 87f5dc0..4ed532e 100755 --- a/org.glite.testsuites.ctb/PX/tests/px-autonomous-test.sh +++ b/org.glite.testsuites.ctb/PX/tests/px-autonomous-test.sh @@ -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 + +\n" >> report.twiki + cat ./prod_packages.txt >> report.twiki + printf "\n" >> report.twiki +fi + +printf "---++++ Test Repo Contents + +\n" >> report.twiki +cat ./repo_packages.txt >> report.twiki +printf " + +---++++ Process + +\n" >> report.twiki cat PXinstall.sh >> report.twiki printf " -- 1.8.2.3