From 12fc523c65a7605f82c7636172bd0ea9840f800f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Thu, 1 Mar 2012 16:10:27 +0000 Subject: [PATCH] Rudimentary test, not much intelligence --- org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 f617037..60669ab 100755 --- a/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh +++ b/org.glite.testsuites.ctb/gridsite/tests/gridsite-test-all.sh @@ -447,7 +447,14 @@ EOF fi printf "Test listing of VOMS attributes (Regression test for bug #92077)\n" - curl --cert /tmp/x509up_u0 --key /tmp/x509up_u0 --capath /etc/grid-security/certificates --silent https://$(hostname -f)/test.cgi + GRST_CRED_AURI=`curl --cert /tmp/x509up_u0 --key /tmp/x509up_u0 --capath /etc/grid-security/certificates --silent https://$(hostname -f)/test.cgi|grep -E GRST_CRED_AURI.*Testers` + if [ "$GRST_CRED_AURI" == "" ]; then + test_failed + print_error "attribute not present" + else + printf " $GRST_CRED_AURI" + test_done + fi else printf "No proxy certificate" -- 1.8.2.3