set -e export NXF_ANSI_LOG=false # # run normal mode # echo '' $NXF_RUN | tee stdout [[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process > foo'` == 26 ]] || false cmp stdout .expected || false # # RESUME mode # echo '' $NXF_RUN -resume | tee stdout [[ `grep 'INFO' .nextflow.log | grep -c 'Cached process > foo'` == 26 ]] || false cmp stdout .expected || false