Files
ma/nextflow/tests/checks/splitLetters.nf/.checks
2026-04-29 23:01:54 +02:00

26 lines
559 B
Plaintext

set -e
#
# run normal mode
#
echo ''
$NXF_RUN | tee stdout
[[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process > splitLetters'` == 1 ]] || false
[[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process > massage'` == 2 ]] || false
grep 'HELLO' stdout
grep 'WORLD!' stdout
#
# RESUME mode
#
echo ''
$NXF_RUN -resume | tee stdout
[[ `grep 'INFO' .nextflow.log | grep -c 'Cached process > splitLetters'` == 1 ]] || false
[[ `grep 'INFO' .nextflow.log | grep -c 'Cached process > massage'` == 2 ]] || false
grep 'HELLO' stdout
grep 'WORLD!' stdout