Commit ede1e38f authored by Brian Paul Bockelman's avatar Brian Paul Bockelman
Browse files

Upgrade from warning to error in the case of a T2_US_* site

parent 478344a3
......@@ -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"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment