21 lines
458 B
Plaintext
21 lines
458 B
Plaintext
set -e
|
|
|
|
#
|
|
# run normal mode
|
|
#
|
|
echo ''
|
|
$NXF_RUN | tee stdout
|
|
|
|
[[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process '` == 1 ]] || false
|
|
[[ -f outputDir/testFile.txt ]] || false
|
|
[[ -L outputDir/testFileLink.txt ]] || false
|
|
|
|
#
|
|
# run resume mode
|
|
#
|
|
rm -rf outputDir
|
|
$NXF_RUN -resume | tee stdout
|
|
|
|
[[ `grep 'INFO' .nextflow.log | grep -c 'Cached process '` == 1 ]] || false
|
|
[[ -f outputDir/testFile.txt ]] || false
|
|
[[ -L outputDir/testFileLink.txt ]] || false |