Commit 7ba36cec authored by Stefano Belforte's avatar Stefano Belforte
Browse files

test removal of lcgadmin role

parent e8d53232
#!/bin/bash
echo "<h2>Checking if TFC is available for SRMv2 endpoint and using it to perform lfn to pfn matching</h2>"
echo "<h4>version 2010 03 25 15:45</h4>"
echo "<h3>Checking PYTHONPATH</h3>"
echo "<pre>"
echo "PYTHONPATH=$PYTHONPATH"
......@@ -19,6 +19,26 @@ env|grep /tmp
echo "</h5>"
echo
echo " temporarly remove lcgadim role"
tproxy=`mktemp`
ls -l $tproxy
echo X509_USER_PROXY=$X509_USER_PROXY
savedProxy=$X509_USER_PROXY
echo savedProxy=$savedProxy
voms-proxy-init -voms cms -cert $X509_USER_PROXY -out $tproxy
ls -l $tproxy
voms-proxy-info -all -path $tproxy
export X509_USER_PROXY=$tproxy
voms-proxy-info -all -path
exit $SAME_INFO
echo "==========================================================="
nodeName=$1
testLFN="/store/temp/user/test"
pfnFilename="userpfn.txt"
......@@ -33,17 +53,6 @@ else
EXIT_STATUS=$?
fi
echo
echo " temporarly remove lcgadim role"
tproxy=`mktemp`
echo $X509_USER_PROXY
savedProxy=$X509_USER_PROXY
# voms-proxy-init -voms cms -cert $X509_USER_PROXY -out $tproxy
#export X509_USER_PROXY=$tproxy
voms-proxy-info -all
echo "</pre>"
if [ $EXIT_STATUS -ne 0 ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment