show MyProxy storage status
authorZdeněk Šustr <sustr4@cesnet.cz>
Mon, 14 Nov 2011 13:07:22 +0000 (13:07 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Mon, 14 Nov 2011 13:07:22 +0000 (13:07 +0000)
org.glite.testsuites.ctb/PX/tests/px-test-all.sh

index d421cd5..acdacd6 100755 (executable)
@@ -108,7 +108,9 @@ fi
 JOBID=https://fake.job.id/xxx
 
 ORIG_PROXY=`voms-proxy-info | grep -E "^path" | sed 's/^path\s*:\s*//'`
+PROXYDN=`voms-proxy-info | grep -E "^identity" | sed 's/^identity\s*:\s*//'`
 myproxy-store --certfile $ORIG_PROXY --keyfile $ORIG_PROXY -s localhost -d
+myproxy-info -s localhost -l "$PROXYDN"
 REGISTERED_PROXY=`glite-proxy-renew -s localhost -f $ORIG_PROXY -j $JOBID start`
 printf "\tProxy:\t$ORIG_PROXY\n\tRenew:\t$REGISTERED_PROXY\n"; 
 printf "Registered proxy -- ";