add nextflow d30e48d
This commit is contained in:
10
nextflow/tests-v1/checks/exit-if-empty.nf/.checks
Normal file
10
nextflow/tests-v1/checks/exit-if-empty.nf/.checks
Normal file
@@ -0,0 +1,10 @@
|
||||
set +e
|
||||
set -o pipefail
|
||||
|
||||
echo ''
|
||||
echo \$ $NXF_RUN
|
||||
$NXF_RUN | tee stdout
|
||||
|
||||
# must return a non-zero exit status
|
||||
[[ $? == 0 ]] && exit 1
|
||||
[[ `<stdout grep -c 'Channel empty terminating'` == 1 ]] || false
|
||||
Reference in New Issue
Block a user