add nextflow d30e48d
This commit is contained in:
30
nextflow/tests/checks/output-val.nf/.checks
Normal file
30
nextflow/tests/checks/output-val.nf/.checks
Normal file
@@ -0,0 +1,30 @@
|
||||
set -e
|
||||
|
||||
#
|
||||
# run normal mode
|
||||
#
|
||||
echo ''
|
||||
$NXF_RUN | tee stdout
|
||||
|
||||
[[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process > foo'` == 1 ]] || false
|
||||
|
||||
[[ `< stdout grep 'x: 100'` ]] || false
|
||||
[[ `< stdout grep 'y: two hundred'` ]] || false
|
||||
[[ `< stdout grep 'str: Hello'` ]] || false
|
||||
[[ `< stdout grep 'exp: prot-100.out'` ]] || false
|
||||
|
||||
|
||||
|
||||
#
|
||||
# RESUME mode
|
||||
#
|
||||
echo ''
|
||||
$NXF_RUN -resume | tee stdout
|
||||
|
||||
[[ `grep 'INFO' .nextflow.log | grep -c 'Cached process > foo'` == 1 ]] || false
|
||||
|
||||
[[ `< stdout grep 'x: 100'` ]] || false
|
||||
[[ `< stdout grep 'y: two hundred'` ]] || false
|
||||
[[ `< stdout grep 'str: Hello'` ]] || false
|
||||
[[ `< stdout grep 'exp: prot-100.out'` ]] || false
|
||||
|
||||
Reference in New Issue
Block a user