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
2affec36
Commit
2affec36
authored
Feb 15, 2007
by
ericw
Browse files
Check that node is defined
parent
86bd74af
Changes
1
Hide whitespace changes
Inline
Side-by-side
SiteTests/FroNtier/tests/CMSSW_frontier.sh
View file @
2affec36
...
...
@@ -6,7 +6,7 @@
# 1) environmental variables SAME_OK and SAME_ERROR are defined
# 2) . $CMS_PATH/cmsset_default.sh has already been run
#
# $Id: CMSSW_frontier.sh,v 1.
4
2007/02/1
4
1
5:3
1:
5
6 ericw Exp $
# $Id: CMSSW_frontier.sh,v 1.
5
2007/02/1
5
1
7:2
1:
1
6 ericw Exp $
#
uname
-n
#
...
...
@@ -83,12 +83,15 @@ fi
# Test access to squid
#
node
=
`
grep
proxy
$CMS_PATH
/SITECONF/local/JobConfig/site-local-config.xml |
cut
-f
3
-d
/ |
cut
-f
1
-d
: |
head
-1
`
ping
-c
1
$node
sping
=
$?
if
[
$sping
-ne
0
]
if
[
$node
!=
""
]
then
printf
"CMSSW_frontier.sh: Error
$sping
from ping
$node
\n
"
exit
$SAME_ERROR
ping
-c
1
$node
sping
=
$?
if
[
$sping
-ne
0
]
then
printf
"CMSSW_frontier.sh: Error
$sping
from ping
$node
\n
"
exit
$SAME_ERROR
fi
fi
#
# Set environmental variables for CORAL
...
...
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