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
8eb412b7
Commit
8eb412b7
authored
Sep 05, 2012
by
Brian Paul Bockelman
Browse files
Source the OSG grid environment prior to invoking voms-proxy-*
parent
f04b410a
Changes
2
Hide whitespace changes
Inline
Side-by-side
SiteTests/testjob/tests/CE-cms-xrootd-access
View file @
8eb412b7
...
...
@@ -54,16 +54,16 @@ fi
# workaround to suppress voms errors on OSG
export
VOMS_PROXY_INFO_DONT_VERIFY_AC
=
"1"
dn
=
`
voms-proxy-info
--identity
`
fqan
=
`
voms-proxy-info
--fqan
|
head
-1
`
add2buffer
"DN:
$dn
"
add2buffer
"Primary FQAN:
$fqan
"
# Setup the grid environment:
if
[
-n
"
$OSG_GRID
"
]
;
then
[
-f
$OSG_GRID
/setup.sh
]
&&
source
$OSG_GRID
/setup.sh
fi
dn
=
`
voms-proxy-info
--identity
`
fqan
=
`
voms-proxy-info
--fqan
|
head
-1
`
add2buffer
"DN:
$dn
"
add2buffer
"Primary FQAN:
$fqan
"
# Set the CMS environment
if
[
-n
"
$VO_CMS_SW_DIR
"
]
;
then
SW_DIR
=
$VO_CMS_SW_DIR
...
...
SiteTests/testjob/tests/CE-cms-xrootd-fallback
View file @
8eb412b7
...
...
@@ -54,16 +54,16 @@ fi
# workaround to suppress voms errors on OSG
export
VOMS_PROXY_INFO_DONT_VERIFY_AC
=
"1"
dn
=
`
voms-proxy-info
--identity
`
fqan
=
`
voms-proxy-info
--fqan
|
head
-1
`
add2buffer
"DN:
$dn
"
add2buffer
"Primary FQAN:
$fqan
"
# Setup the grid environment:
if
[
-n
"
$OSG_GRID
"
]
;
then
[
-f
$OSG_GRID
/setup.sh
]
&&
source
$OSG_GRID
/setup.sh
fi
dn
=
`
voms-proxy-info
--identity
`
fqan
=
`
voms-proxy-info
--fqan
|
head
-1
`
add2buffer
"DN:
$dn
"
add2buffer
"Primary FQAN:
$fqan
"
# Set the CMS environment
if
[
-n
"
$VO_CMS_SW_DIR
"
]
;
then
SW_DIR
=
$VO_CMS_SW_DIR
...
...
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