Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
84f59c11
Commit
84f59c11
authored
Dec 12, 2009
by
Stefano Belforte
Browse files
improve reporting
parent
7362112b
Changes
1
Hide whitespace changes
Inline
Side-by-side
SiteTests/testjob/tests/CE-cms-dummy
View file @
84f59c11
...
...
@@ -126,24 +126,26 @@ if [ $isEGEE == 1 ]; then
fi
if
[
-z
$GLITE_LOCATION
]
;
then
echo
"<h
3
>"
echo
"
ERROR:
GLITE_LOCATION not defined"
echo
"</h
3
>"
echo
"<h
4
>"
echo
"GLITE_LOCATION not defined"
echo
"</h
4
>"
else
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
[
-r
"
$filetosource
"
]
;
then
source
"
$filetosource
"
&>/dev/null
[
-r
`
which lcg-ls
`
]
&&
echo
"<p><strong>lcg-ls found ! as "
`
which lcg-ls
`
"</strong><p>"
which lcg-ls
>
/dev/null
&&
lcglsOK
=
1
fi
filetosource
=
${
GLITE_LOCATION
}
/../etc/profile.d/grid-env.sh
echo
"<p>try {GLITE_LOCATION}/../etc/profile.d/grid-env.sh"
if
[
-r
"
$filetosource
"
]
;
then
source
"
$filetosource
"
&>/dev/null
[
-r
`
which lcg-ls
`
]
&&
echo
"<p><strong>lcg-ls found ! as "
`
which lcg-ls
`
"</strong><p>"
which lcg-ls
>
/dev/null
&&
lcglsOK
=
1
if
[
$lcglsOK
==
0
]
;
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
[
-r
"
$filetosource
"
]
;
then
source
"
$filetosource
"
&>/dev/null
[
-r
`
which lcg-ls
`
]
&&
echo
"<p><strong>lcg-ls found ! as "
`
which lcg-ls
`
"</strong><p>"
which lcg-ls
>
/dev/null
&&
lcglsOK
=
1
fi
filetosource
=
${
GLITE_LOCATION
}
/../etc/profile.d/grid-env.sh
echo
"<p>try {GLITE_LOCATION}/../etc/profile.d/grid-env.sh"
if
[
-r
"
$filetosource
"
]
;
then
source
"
$filetosource
"
&>/dev/null
[
-r
`
which lcg-ls
`
]
&&
echo
"<p><strong>lcg-ls found ! as "
`
which lcg-ls
`
"</strong><p>"
which lcg-ls
>
/dev/null
&&
lcglsOK
=
1
fi
fi
fi
...
...
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