Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:19

0001 #!/bin/bash
0002 
0003 # Pass in name and status
0004 function die {
0005   printf "\n%s: status %s\n" "$1" "$2"
0006   if [ $# -gt 2 ]; then
0007     printf "%s\n" "=== Log File =========="
0008     cat $3
0009     printf "%s\n" "=== End of Log File ==="
0010   fi
0011   exit $2
0012 }
0013 
0014 # run test job
0015 test_hltPrintMenuVersions_1="hltPrintMenuVersions /dev/CMSSW_13_0_0/Fake2"
0016 
0017 ${test_hltPrintMenuVersions_1} &> test_hltPrintMenuVersions_log \
0018   || die "Failure '${test_hltPrintMenuVersions_1}'" $? test_hltPrintMenuVersions_log
0019 
0020 cat <<@EOF > test_hltPrintMenuVersions_log_expected
0021 HLT Configuration: /dev/CMSSW_13_0_0/Fake2 (database = "run3")
0022 
0023    * =/dev/CMSSW_13_0_0/Fake2/V9 (CMSSW_13_0_2)=: !Migration to release template of !CMSSW_13_0_2
0024    * =/dev/CMSSW_13_0_0/Fake2/V8 (CMSSW_13_0_1)=: !Migration
0025    * =/dev/CMSSW_13_0_0/Fake2/V7 (CMSSW_13_0_0)=: [[https://its.cern.ch/jira/browse/CMSHLT-2651][CMSHLT-2651]]: changed compression settings of all !OutputModules to (algorithm=ZSTD, level=3)
0026    * =/dev/CMSSW_13_0_0/Fake2/V6 (CMSSW_13_0_0)=: !Migration
0027    * =/dev/CMSSW_13_0_0/Fake2/V5 (CMSSW_13_0_0_pre4)=: !Migration
0028    * =/dev/CMSSW_13_0_0/Fake2/V4 (CMSSW_13_0_0_pre3)=: !Migration
0029    * =/dev/CMSSW_13_0_0/Fake2/V3 (CMSSW_13_0_0_pre2)=: !Migration
0030    * =/dev/CMSSW_13_0_0/Fake2/V2 (CMSSW_13_0_0_pre1)=: !Migration
0031    * =/dev/CMSSW_13_0_0/Fake2/V1 (CMSSW_12_6_0_pre5)=: saveAs /dev/CMSSW_12_6_0/Fake2/V6 [7242]
0032 
0033 @EOF
0034 
0035 diff test_hltPrintMenuVersions_log test_hltPrintMenuVersions_log_expected \
0036   || die "Unexpected differences in outputs of '${test_hltPrintMenuVersions_1}'" $?