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
ede1e38f
Commit
ede1e38f
authored
Oct 10, 2012
by
Brian Paul Bockelman
Browse files
Upgrade from warning to error in the case of a T2_US_* site
parent
478344a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
SiteTests/testjob/tests/CE-cms-xrootd-fallback
View file @
ede1e38f
...
...
@@ -22,7 +22,8 @@ do
esac
done
# For now, never give failures - just warnings
# For now, give warnings by default.
# For T2_US_* sites, this is later upgraded to a critical test.
NAG_CRITICAL
=
$SAME_WARNING
NAG_WARNING
=
$SAME_WARNING
NAG_OK
=
$SAME_OK
...
...
@@ -131,6 +132,12 @@ fi
siteName
=
`
grep
"site name"
$ConfigFile
|
grep
-v
"subsite name"
|
cut
-d
'"'
-f2
`
add2buffer
"Site name:
$siteName
"
if
[
`
expr
"
$siteName
"
:
'T2_US_*'
`
-ne
0
]
;
then
add2buffer
"This appears to be a US T2 site; making fallback a critical test."
NAG_CRITICAL
=
$SAME_ERROR
fi
cmssw_file
=
"/store/mc/SAM/GenericTTbar/GEN-SIM-RECO/CMSSW_5_3_1_START53_V5-v1/0013/CE4D66EB-5AAE-E111-96D6-003048D37524.root"
xrootd_file
=
"/store/test/xrootd/CMSSAM/
$cmssw_file
"
add2buffer
"Xrootd file we will test:
$xrootd_file
"
...
...
Write
Preview
Supports
Markdown
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