From: Miloš Mulač Date: Wed, 1 Feb 2006 16:11:06 +0000 (+0000) Subject: add some warnings if grid-proxy-info unavailable X-Git-Tag: merge_for_3_1_dst~27 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=157b177284e6647a773a6de56cdc60ff88cec5d9;p=jra1mw.git add some warnings if grid-proxy-info unavailable --- diff --git a/org.glite.jp.index/test/run-test.sh b/org.glite.jp.index/test/run-test.sh index 63100ba..149088e 100644 --- a/org.glite.jp.index/test/run-test.sh +++ b/org.glite.jp.index/test/run-test.sh @@ -37,9 +37,11 @@ if [ -z "$X509_USER_CERT" -o -z "$X509_USER_KEY" ] ; then if [ -e "$GLOBUS_LOCATION/bin/grid-proxy-info" ] ; then timeleft=`$GLOBUS_LOCATION/bin/grid-proxy-info 2>&1| grep timeleft| sed 's/^.* //'` if [ "$timeleft" = "0:00:00" -o -z "$timeleft" ]; then - echo "No valid proxy cert found nor X509_USER_CERT/X509_USER_KEY specified! Aborting." + echo "No valid proxy cert found nor GLITE_HOST_KEY/GLITE_HOST_KEY specified! Aborting." exit 1 fi + else + echo "Can't check proxy cert (grid-proxy-info not found). If you do not have valid proxy certificate, set GLITE_HOST_KEY/GLITE_HOST_KEY - otherwise tests will fail!" fi fi