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
69d06754
Commit
69d06754
authored
Dec 11, 2009
by
Stefano Belforte
Browse files
look for middleware setup script
parent
e4313ec2
Changes
1
Hide whitespace changes
Inline
Side-by-side
SiteTests/testjob/tests/CE-cms-dummy
View file @
69d06754
...
...
@@ -110,6 +110,11 @@ if [ $isEGEE == 1 ]; then
else
echo
"GLITE_WMS_LOCATION ="
$GLITE_WMS_LOCATION
filetosource
=
${
GLITE_WMS_LOCATION
}
/etc/profile.d/grid-env.sh
echo
"<pre>"
;
set
-x
ls
-l
${
GLITE_WMS_LOCATION
}
ls
-l
${
GLITE_WMS_LOCATION
}
/etc/profile.d
ls
-l
$filetosource
set
+x
;
echo
"</pre>"
if
[
-x
"
$filetosource
"
]
;
then
source
"
$filetosource
"
&>/dev/null
[
-x
`
which lcg-ls
`
]
&&
echo
"<p><strong>lcg-ls found !</strong><p> as "
`
which lcg-ls
`
...
...
@@ -124,15 +129,15 @@ if [ $isEGEE == 1 ]; then
echo
"<p>GLITE_LOCATION ="
$GLITE_LOCATION
filetosource
=
${
GLITE_LOCATION
}
/etc/profile.d/grid-env.sh
echo
"<p>try {GLITE_LOCATION}/etc/profile.d/grid-env.sh"
if
[
-
x
"
$filetosource
"
]
;
then
if
[
-
r
"
$filetosource
"
]
;
then
source
"
$filetosource
"
&>/dev/null
[
-
x
`
which lcg-ls
`
]
&&
echo
"<p><strong>lcg-ls found ! as "
`
which lcg-ls
`
"</strong><p>"
[
-
r
`
which lcg-ls
`
]
&&
echo
"<p><strong>lcg-ls found ! as "
`
which lcg-ls
`
"</strong><p>"
fi
filetosource
=
${
GLITE_LOCATION
}
/../etc/profile.d/grid-env.sh
echo
"<p>try {GLITE_LOCATION}/../etc/profile.d/grid-env.sh"
if
[
-
x
"
$filetosource
"
]
;
then
if
[
-
r
"
$filetosource
"
]
;
then
source
"
$filetosource
"
&>/dev/null
[
-
x
`
which lcg-ls
`
]
&&
echo
"<p><strong>lcg-ls found ! as "
`
which lcg-ls
`
"</strong><p>"
[
-
r
`
which lcg-ls
`
]
&&
echo
"<p><strong>lcg-ls found ! as "
`
which lcg-ls
`
"</strong><p>"
fi
fi
...
...
@@ -146,9 +151,15 @@ if [ $isOSG == 1 ]; then
echo
"</h3>"
else
echo
"OSG_GRID="
$OSG_GRID
if
[
-x
"
$OSG_GRID
/setup.sh"
]
;
then
echo
"<pre>"
set
-x
ls
-l
$OSG_GRID
/setup.sh
set
+x
echo
"</pre>"
if
[
-r
"
$OSG_GRID
/setup.sh"
]
;
then
source
"
${
OSG_GRID
}
/setup.sh"
&>/dev/null
[
-x
`
which lcg-ls
`
]
&&
echo
"<p><strong>lcg-ls found ! as "
`
which lcg-ls
`
"</strong><p>"
[
-x
`
which lcg-ls
`
]
&&
echo
"<p><strong>lcg-ls -X found ! as "
`
which lcg-ls
`
"</strong><p>"
[
-r
`
which lcg-ls
`
]
&&
echo
"<p><strong>lcg-ls -R found ! as "
`
which lcg-ls
`
"</strong><p>"
fi
echo
"<pre>"
set
-x
...
...
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