Files
ma/nextflow/tests-v1/checks/workdir-with-blank.nf/.checks
2026-04-29 23:01:54 +02:00

27 lines
642 B
Plaintext

set -e
mkdir 'w o r k d i r'
#
# run using a workdir containing blanks
#
echo ''
$NXF_RUN -w "$PWD/w o r k d i r" > stdout
[[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process > foo'` == 3 ]] || false
#
# the same using scracth
#
echo ''
$NXF_RUN -w "$PWD/w o r k d i r" -process.scratch true > stdout
[[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process > foo'` == 3 ]] || false
#
# the same using Docker
#
# Disabled - See https://github.com/docker/docker/issues/17967
#echo ''
#$NXF_RUN $WITH_DOCKER -w "$PWD/w o r k d i r" > stdout
#[[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process > foo'` == 3 ]] || false
#