From: Zdeněk Šustr Date: Fri, 27 Jul 2012 08:22:33 +0000 (+0000) Subject: Modified PATH not recoginzed inline. Replaced with a succession of calls. X-Git-Tag: gridsite-core_R_1_7_22~5 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=9835f0f31ad3b02fdd40b2fc379b5f0663c0742e;p=jra1mw.git Modified PATH not recoginzed inline. Replaced with a succession of calls. --- diff --git a/org.glite.testsuites.ctb/LB/tests/lb-test-notif-keeper.sh b/org.glite.testsuites.ctb/LB/tests/lb-test-notif-keeper.sh index 899db05..2755a99 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-test-notif-keeper.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-test-notif-keeper.sh @@ -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 diff --git a/org.glite.testsuites.ctb/LB/tests/lb-test-proxy-delivery.sh b/org.glite.testsuites.ctb/LB/tests/lb-test-proxy-delivery.sh index f0334ce..8ca5832 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-test-proxy-delivery.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-test-proxy-delivery.sh @@ -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 }'`