From a18bf41b2dfe3a60ead602441c5e42b29d15d35d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Mon, 27 Feb 2012 09:50:51 +0000 Subject: [PATCH] Correct grep --- org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh b/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh index 5d17b08..5b1f413 100755 --- a/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh +++ b/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh @@ -391,10 +391,12 @@ EOF printf "Setting up .lsc file and trying again\n" - UTOPIA=`voms-proxy-info -all | grep -A 100 "extension information" | grep "^issuer" | grep utopia` + UTOPIA=`voms-proxy-info -all | grep -A 100 "extension information" | grep "^issuer" | grep "L=Tropic" | grep "O=Utopia" | grep "OU=Relaxation"` if [ $UTOPIA != "" ]; then printf "Possibly fake VOMS extensions. Regenerating..." - voms-proxy-init -voms vo.org -key $x509_USER_KEY -cert $x509_USER_CERT | grep -A 100 "extension information" + voms-proxy-info | grep -A 100 "extension information" + voms-proxy-init -voms vo.org -key $x509_USER_KEY -cert $x509_USER_CERT + voms-proxy-info | grep -A 100 "extension information" fi; for vomsfile in /etc/vomses/* -- 1.8.2.3