diff --git a/HLT/Trigger/TrigControl/TrigCommon/share/test_athenaHLT.sh b/HLT/Trigger/TrigControl/TrigCommon/share/test_athenaHLT.sh index 75d5c4119a9b4bca6dd92147d89365d3ed8567ec..35013c57bf3ce59d4973c62ee3f9f15ae8b51acc 100755 --- a/HLT/Trigger/TrigControl/TrigCommon/share/test_athenaHLT.sh +++ b/HLT/Trigger/TrigControl/TrigCommon/share/test_athenaHLT.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # # Configuration testing script for athenaHLT.py # @@ -25,4 +25,4 @@ detmask="0000000000000001c10069fffffffff7" # If there was a failure, the exit code will be non-zero log=test_athenaHLT-${BASHPID} echo "e" | athenaHLT.py --stdcmalloc --file ${file} --detector-mask ${detmask} --run-number ${run} --sor-time ${sortime} --interactive ${test_options} &> $log -cat $log | sed -n '/<Configuration>/,/<\/Magnets>/p;/<\/Magnets>/q' | grep '<' | grep -v 'LogRoot' +cat $log | sed -n '/<Configuration>/,/<\/Magnets>/p;/<\/Magnets>/q' | grep '<' | grep -v 'LogRoot' | sed 's#<\/Configuration>.*#<\/Configuration>#'