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

21 lines
441 B
Plaintext

#
# run normal mode
#
$NXF_RUN -c ../../config-vars.config | tee stdout
[[ `grep INFO .nextflow.log | grep -c 'Submitted process'` == 2 ]] || false
< stdout grep "foo 1,2" || false
< stdout grep "bar 3,4" || false
#
# run resume mode
#
$NXF_RUN -c ../../config-vars.config -resume | tee stdout
[[ `grep INFO .nextflow.log | grep -c 'Cached process'` == 2 ]] || false
< stdout grep "foo 1,2" || false
< stdout grep "bar 3,4" || false