set -e # # run normal mode # echo '' $NXF_RUN | tee stdout [[ `< .nextflow.log grep -c 'Submitted process > foo'` == 1 ]] || false [[ `< .nextflow.log grep -c 'Re-submitted process > foo'` == 1 ]] || false [[ `< .nextflow.log grep -c 'Error is ignored'` == 1 ]] || false