Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
7ba36cec
Commit
7ba36cec
authored
Mar 25, 2010
by
Stefano Belforte
Browse files
test removal of lcgadmin role
parent
e8d53232
Changes
1
Hide whitespace changes
Inline
Side-by-side
SiteTests/SRMv2/tests/SRMv2-user
View file @
7ba36cec
#!/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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment