From: Zdeněk Šustr Date: Thu, 10 Nov 2011 11:24:23 +0000 (+0000) Subject: Header is now generated by a sgared function. X-Git-Tag: merge_30_head_take2_dst~53 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=5ce2c25b9fe06a793b5655a5acbdc96824b64c06;p=jra1mw.git Header is now generated by a sgared function. --- 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 90d2760..62d20cb 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-autonomous-test.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-autonomous-test.sh @@ -101,33 +101,8 @@ test_done ENDTIME=`date +%s` -DURATION=`expr $ENDTIME - $STARTTIME` - -ISSUE=`cat /etc/issue | head -n 1` -PLATFORM=`uname -i` -TESTBED=`hostname -f` -DISTRO=`cat /etc/issue | head -n 1 | sed 's/\s.*$//'` -VERSION=`cat /etc/issue | head -n 1 | grep -E -o "[0-9]+\.[0-9]+"` -MAJOR=`echo $VERSION | sed 's/\..*$//'` - -# Generate final report snippet - -printf " ----++ $SCENARIO, $DISTRO $MAJOR - ----+++ Environment -#CleanInstallation - -Clean installation according to EMI guidelines (CA certificates, proxy certificate...). - -| OS Issue | $ISSUE | -| Platform | $PLATFORM | -| Host | $TESTBED | -| Duration | `expr $DURATION / 60` min | -| Testbed uptime | `uptime` | - ----++++ Process -\n" > report.twiki +#Generating report section +gen_deployment_header $ENDTIME $STARTTIME "$SCENARIO" > report.twiki cat LBinstall.sh >> report.twiki printf "