Files
ma/nextflow/tests-v1/checks/publish-nested.nf/.checks
2026-04-29 23:01:54 +02:00

21 lines
427 B
Plaintext

#
# run normal mode
#
echo First run
$NXF_RUN --x ciao | tee stdout
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > foo'` == 1 ]] || false
[[ $(cat data/a/b/c/file.txt) == ciao ]] || false
#
# second run, must overwrite the file
#
echo First run
$NXF_RUN --x miao | tee stdout
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > foo'` == 1 ]] || false
[[ $(cat data/a/b/c/file.txt) == miao ]] || false