From 9835f0f31ad3b02fdd40b2fc379b5f0663c0742e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Fri, 27 Jul 2012 08:22:33 +0000 Subject: [PATCH] Modified PATH not recoginzed inline. Replaced with a succession of calls. --- org.glite.testsuites.ctb/LB/tests/lb-test-notif-keeper.sh | 5 ++++- org.glite.testsuites.ctb/LB/tests/lb-test-proxy-delivery.sh | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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 }'` -- 1.8.2.3