diff --git a/Configuration/PyReleaseValidation/test/BuildFile.xml b/Configuration/PyReleaseValidation/test/BuildFile.xml new file mode 100644 index 0000000000000..6fa7c3e401898 --- /dev/null +++ b/Configuration/PyReleaseValidation/test/BuildFile.xml @@ -0,0 +1,3 @@ + + + diff --git a/Configuration/PyReleaseValidation/test/test-das-selected-lumis.sh b/Configuration/PyReleaseValidation/test/test-das-selected-lumis.sh new file mode 100755 index 0000000000000..7557a446272bf --- /dev/null +++ b/Configuration/PyReleaseValidation/test/test-das-selected-lumis.sh @@ -0,0 +1,8 @@ +#!/bin/bash -ex +export CMS_BOT_USE_DASGOCLIENT=true +QUERY="lumi,file dataset=/HIHardProbes/HIRun2018A-v1/RAW run=326479" +dasgoclient --limit 0 --query "${QUERY}" --format json | das-selected-lumis.py 1,23 | grep '^/store/' > original.txt +cat original.txt +if [ $(cat original.txt | wc -l) -eq 0 ] ; then + exit 1 +fi