From 598aeea65539377459e1caaad1de557ace868402 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Tue, 17 Apr 2012 11:35:49 +0000 Subject: [PATCH] Include package list in report. --- .../LB/tests/lb-autonomous-test.sh | 20 ++++++++++++++++++++ .../LB/tests/lb-common-testbeds.sh | 3 +-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/org.glite.testsuites.ctb/LB/tests/lb-autonomous-test.sh b/org.glite.testsuites.ctb/LB/tests/lb-autonomous-test.sh index 7712e11..48ec0c4 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-autonomous-test.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-autonomous-test.sh @@ -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 + +\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 LBinstall.sh >> report.twiki printf " diff --git a/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh b/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh index 5536d64..151d6c6 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh @@ -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 -\n" +" } function gen_repo_lists() -- 1.8.2.3