Modified PATH not recoginzed inline. Replaced with a succession of calls.
authorZdeněk Šustr <sustr4@cesnet.cz>
Fri, 27 Jul 2012 08:22:33 +0000 (08:22 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Fri, 27 Jul 2012 08:22:33 +0000 (08:22 +0000)
org.glite.testsuites.ctb/LB/tests/lb-test-notif-keeper.sh
org.glite.testsuites.ctb/LB/tests/lb-test-proxy-delivery.sh

index 899db05..2755a99 100755 (executable)
@@ -104,7 +104,10 @@ else
 fi
 
 printf "Checking for presence of the notif-keeper tool... "
-NOTIFKEEPER=`PATH=/sbin:$GLITE_LOCATION/sbin:$GLITE_LB_LOCATION/sbin which $LBNOTIFKEEPER`
+OLDPATH=$PATH
+export PATH=$PATH:/sbin:$GLITE_LOCATION/sbin:$GLITE_LB_LOCATION/sbin
+NOTIFKEEPER=`which $LBNOTIFKEEPER`
+export PATH=$OLDPATH
 if [ ! -f "$NOTIFKEEPER" ]; then
        printf "Not present"
        test_skipped
index f0334ce..8ca5832 100755 (executable)
@@ -106,6 +106,7 @@ if [ $? != 0 ]; then
        exit 2
 fi
                # Register job:
+               printf "Going through socket ${GLITE_WMS_LBPROXY_STORE_SOCK}store.sock\n"
                printf "Registering testing job "
                jobid=`${LBJOBREG} -X ${GLITE_WMS_LBPROXY_STORE_SOCK}store.sock -m ${GLITE_WMS_QUERY_SERVER} -s application | ${SYS_GREP} "new jobid" | ${SYS_AWK} '{ print $3 }'`