environment variable update
authorZdeněk Šustr <sustr4@cesnet.cz>
Fri, 3 Oct 2008 10:14:39 +0000 (10:14 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Fri, 3 Oct 2008 10:14:39 +0000 (10:14 +0000)
test output modification

org.glite.testsuites.ctb/LB/tests/lb-test-job-registration.sh
org.glite.testsuites.ctb/LB/tests/test-common.sh

index 6da1981..2aea5db 100755 (executable)
@@ -96,7 +96,7 @@ else
 
                # Register job:
                printf "Registering testing job "
-               jobid=`${LBJOBREG} -m ${EDG_WL_QUERY_SERVER} -s application | $SYS_GREP "new jobid" | ${SYS_AWK} '{ print $3 }'`
+               jobid=`${LBJOBREG} -m ${GLITE_WMS_QUERY_SERVER} -s application | $SYS_GREP "new jobid" | ${SYS_AWK} '{ print $3 }'`
 
                if [ -z $jobid  ]; then
                        test_failed
index b8ed3cc..e22946e 100644 (file)
@@ -52,7 +52,7 @@ function set_test()
 {
 test_done="${spacefill}${begin_green}done${end_green}"
 test_running="${spacefill}${begin_green}running${end_green}"
-test_failed="${spacefill}${begin_red}failed${end_red}"
+test_failed="${spacefill}${begin_red}-TEST FAILED-${end_red}"
 test_missed="${spacefill}${begin_red}missing${end_red}"
 test_skipped="${spacefill}${begin_yellow}skipped${end_yellow}"
 test_dead="${spacefill}${begin_red}dead${end_red}"
@@ -115,7 +115,7 @@ function setOutputColor()
 local esc=`echo -en "\033"`
 local normal="${esc}[0m" # unsets color to term's fg color
 lf="\n"
-spacefill=`echo -en "\015${esc}[${COLUMNS}C${esc}[10D"`
+spacefill=`echo -en "\015${esc}[${COLUMNS}C${esc}[15D"`
 
 begin_bold="${esc}[0;1m"
 begin_black="${esc}[0;30m"