Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
...
@@ -54,16 +54,16 @@ fi
# workaround to suppress voms errors on OSG
# workaround to suppress voms errors on OSG
export
VOMS_PROXY_INFO_DONT_VERIFY_AC
=
"1"
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:
# Setup the grid environment:
if
[
-n
"
$OSG_GRID
"
]
;
then
if
[
-n
"
$OSG_GRID
"
]
;
then
[
-f
$OSG_GRID
/setup.sh
]
&&
source
$OSG_GRID
/setup.sh
[
-f
$OSG_GRID
/setup.sh
]
&&
source
$OSG_GRID
/setup.sh
fi
fi
dn
=
`
voms-proxy-info
--identity
`
fqan
=
`
voms-proxy-info
--fqan
|
head
-1
`
add2buffer
"DN:
$dn
"
add2buffer
"Primary FQAN:
$fqan
"
# Set the CMS environment
# Set the CMS environment
if
[
-n
"
$VO_CMS_SW_DIR
"
]
;
then
if
[
-n
"
$VO_CMS_SW_DIR
"
]
;
then
SW_DIR
=
$VO_CMS_SW_DIR
SW_DIR
=
$VO_CMS_SW_DIR
...
...
SiteTests/testjob/tests/CE-cms-xrootd-fallback
View file @
8eb412b7
...
@@ -54,16 +54,16 @@ fi
...
@@ -54,16 +54,16 @@ fi
# workaround to suppress voms errors on OSG
# workaround to suppress voms errors on OSG
export
VOMS_PROXY_INFO_DONT_VERIFY_AC
=
"1"
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:
# Setup the grid environment:
if
[
-n
"
$OSG_GRID
"
]
;
then
if
[
-n
"
$OSG_GRID
"
]
;
then
[
-f
$OSG_GRID
/setup.sh
]
&&
source
$OSG_GRID
/setup.sh
[
-f
$OSG_GRID
/setup.sh
]
&&
source
$OSG_GRID
/setup.sh
fi
fi
dn
=
`
voms-proxy-info
--identity
`
fqan
=
`
voms-proxy-info
--fqan
|
head
-1
`
add2buffer
"DN:
$dn
"
add2buffer
"Primary FQAN:
$fqan
"
# Set the CMS environment
# Set the CMS environment
if
[
-n
"
$VO_CMS_SW_DIR
"
]
;
then
if
[
-n
"
$VO_CMS_SW_DIR
"
]
;
then
SW_DIR
=
$VO_CMS_SW_DIR
SW_DIR
=
$VO_CMS_SW_DIR
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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