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
568f5e7c
Commit
568f5e7c
authored
Mar 15, 2007
by
Guillelmo Gomez Ceballos Retuerto
Browse files
A few modifications to make the script nicer
parent
441f9f82
Changes
1
Hide whitespace changes
Inline
Side-by-side
SiteTests/MonteCarlo/tests/CE-cms-mc
View file @
568f5e7c
...
...
@@ -5,15 +5,15 @@ echo "<h2>Stage out test for the Monte Carlo production</h2>"
# Source the CMS environment
echo
"<h3>Sourcing the CMS environment</h3>"
export
SCRAM_ARCH
=
slc3_ia32_gcc323
if
[
-n
"
$VO_CMS_SW_DIR
"
]
;
then
echo
"LCG site"
SW_DIR
=
$VO_CMS_SW_DIR
result
=
$?
elif
[
-n
"
$OSG_APP
"
]
;
then
if
[
-n
"
$OSG_APP
"
]
;
then
echo
"OSG site"
SW_DIR
=
$OSG_APP
/cmssoft/cms
source
$OSG_GRID
/setup.sh
result
=
$?
elif
[
-n
"
$VO_CMS_SW_DIR
"
]
;
then
echo
"LCG site"
SW_DIR
=
$VO_CMS_SW_DIR
result
=
$?
else
echo
"ERROR: neither VO_CMS_SW_DIR nor OSG_APP defined"
exit
$SAME_ERROR
...
...
@@ -37,10 +37,10 @@ echo "</pre>"
echo
"<h3>Invoking site test</h3>"
echo
"<pre>"
echo
"<h
4
>"
echo
"<h
5
>"
echo
"WHOAMI?:
$USER
"
voms-proxy-info
-all
echo
"</h
4
>"
echo
"</h
5
>"
cd
$SAME_SENSOR_HOME
/cms-MC-test/
if
[
$?
-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