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
308fa453
Commit
308fa453
authored
Mar 07, 2007
by
Andrea Sciaba
Browse files
Added path to sw on OSG
parent
1c9aa430
Changes
2
Hide whitespace changes
Inline
Side-by-side
SiteTests/FroNtier/tests/CE-cms-squid
View file @
308fa453
...
...
@@ -4,9 +4,17 @@ echo "<h2>Test of the local FroNtier squid</h2>"
# Source the CMS environment
echo
"<h3>Sourcing the CMS environment</h3>"
echo
"<pre>"
export
SCRAM_ARCH
=
slc3_ia32_gcc323
source
$VO_CMS_SW_DIR
/cmsset_default.sh
if
[
-n
"
$VO_CMS_SW_DIR
"
]
;
then
SW_DIR
=
$VO_CMS_SW_DIR
elif
[
-n
"
$OSG_APP
"
]
;
then
SW_DIR
=
$OSG_APP
/cmssoft/cms
else
echo
"ERROR: Neither VO_CMS_SW_DIR nor OSG_APP defined"
exit
$SAME_ERROR
fi
echo
"<pre>"
source
$SW_DIR
/cmsset_default.sh
result
=
$?
echo
"</pre>"
if
[
$result
!=
0
]
...
...
SiteTests/MonteCarlo/tests/CE-cms-mc
View file @
308fa453
...
...
@@ -4,9 +4,17 @@ echo "<h2>Stage out test for the Monte Carlo production</h2>"
# Source the CMS environment
echo
"<h3>Sourcing the CMS environment</h3>"
echo
"<pre>"
export
SCRAM_ARCH
=
slc3_ia32_gcc323
source
$VO_CMS_SW_DIR
/cmsset_default.sh
if
[
-n
"
$VO_CMS_SW_DIR
"
]
;
then
SW_DIR
=
$VO_CMS_SW_DIR
elif
[
-n
"
$OSG_APP
"
]
;
then
SW_DIR
=
$OSG_APP
/cmssoft/cms
else
echo
"ERROR: Neither VO_CMS_SW_DIR nor OSG_APP defined"
exit
$SAME_ERROR
fi
echo
"<pre>"
source
$SW_DIR
/cmsset_default.sh
result
=
$?
echo
"</pre>"
if
[
$result
!=
0
]
...
...
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