18 lines
352 B
Plaintext
18 lines
352 B
Plaintext
#
|
|
# run normal mode
|
|
#
|
|
$NXF_RUN | tee .stdout
|
|
|
|
[[ `grep INFO .nextflow.log | grep -c 'Submitted process'` == 2 ]] || false
|
|
[[ `< .stdout grep 'bar says Hello'` ]] || false
|
|
|
|
|
|
#
|
|
# run resume mode
|
|
#
|
|
$NXF_RUN -resume | tee .stdout
|
|
|
|
[[ `grep INFO .nextflow.log | grep -c 'Cached process'` == 2 ]] || false
|
|
[[ `< .stdout grep 'bar says Hello'` ]] || false
|
|
|