#
# run normal mode
#
$NXF_RUN 

[[ `grep INFO .nextflow.log | grep -c 'Submitted process > proc1'` == 3 ]] || false
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > proc2'` == 3 ]] || false
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > proc3'` == 3 ]] || false
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > proc4'` == 3 ]] || false
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > proc5'` == 3 ]] || false
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > proc6'` == 3 ]] || false
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > proc7'` == 3 ]] || false


$NXF_RUN 

[[ `grep INFO .nextflow.log | grep -c '\[skipping\] Stored process > proc1'` == 3 ]] || false
[[ `grep INFO .nextflow.log | grep -c '\[skipping\] Stored process > proc2'` == 3 ]] || false
[[ `grep INFO .nextflow.log | grep -c '\[skipping\] Stored process > proc3'` == 3 ]] || false
[[ `grep INFO .nextflow.log | grep -c '\[skipping\] Stored process > proc4'` == 3 ]] || false
[[ `grep INFO .nextflow.log | grep -c '\[skipping\] Stored process > proc5'` == 3 ]] || false
[[ `grep INFO .nextflow.log | grep -c '\[skipping\] Stored process > proc6'` == 3 ]] || false
[[ `grep INFO .nextflow.log | grep -c '\[skipping\] Stored process > proc7'` == 3 ]] || false

