Skip to content

Commit f7dd01a

Browse files
committed
Fix failing test
Signed-off-by: Ben Sherman <[email protected]>
1 parent b9ced30 commit f7dd01a

File tree

1 file changed

+21
-18
lines changed
  • tests-v1/checks/output-dsl.nf

1 file changed

+21
-18
lines changed

tests-v1/checks/output-dsl.nf/.checks

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
echo First run
55
$NXF_RUN --save_bam_bai | tee stdout
66

7-
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > fastqc'` == 3 ]] || false
8-
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > align'` == 3 ]] || false
9-
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > quant'` == 3 ]] || false
7+
[[ $(grep INFO .nextflow.log | grep -c 'Submitted process > fastqc') == 3 ]] || false
8+
[[ $(grep INFO .nextflow.log | grep -c 'Submitted process > align') == 3 ]] || false
9+
[[ $(grep INFO .nextflow.log | grep -c 'Submitted process > quant') == 3 ]] || false
1010

11-
[[ -f results/fastqc/alpha.fastqc.log ]] || false
12-
[[ -f results/fastqc/beta.fastqc.log ]] || false
13-
[[ -f results/fastqc/delta.fastqc.log ]] || false
11+
[[ -f results/log/alpha.fastqc.log ]] || false
12+
[[ -f results/log/beta.fastqc.log ]] || false
13+
[[ -f results/log/delta.fastqc.log ]] || false
1414
[[ -f results/align/alpha.bai ]] || false
1515
[[ -f results/align/alpha.bam ]] || false
1616
[[ -f results/align/beta.bai ]] || false
@@ -21,6 +21,7 @@ $NXF_RUN --save_bam_bai | tee stdout
2121
[[ -L results/quant/beta ]] || false
2222
[[ -L results/quant/delta ]] || false
2323
[[ -f results/samples.csv ]] || false
24+
[[ -f results/summary.txt ]] || false
2425

2526

2627
#
@@ -29,13 +30,13 @@ $NXF_RUN --save_bam_bai | tee stdout
2930
echo Second run
3031
$NXF_RUN --save_bam_bai | tee stdout
3132

32-
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > fastqc'` == 3 ]] || false
33-
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > align'` == 3 ]] || false
34-
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > quant'` == 3 ]] || false
33+
[[ $(grep INFO .nextflow.log | grep -c 'Submitted process > fastqc') == 3 ]] || false
34+
[[ $(grep INFO .nextflow.log | grep -c 'Submitted process > align') == 3 ]] || false
35+
[[ $(grep INFO .nextflow.log | grep -c 'Submitted process > quant') == 3 ]] || false
3536

36-
[[ -f results/fastqc/alpha.fastqc.log ]] || false
37-
[[ -f results/fastqc/beta.fastqc.log ]] || false
38-
[[ -f results/fastqc/delta.fastqc.log ]] || false
37+
[[ -f results/log/alpha.fastqc.log ]] || false
38+
[[ -f results/log/beta.fastqc.log ]] || false
39+
[[ -f results/log/delta.fastqc.log ]] || false
3940
[[ -f results/align/alpha.bai ]] || false
4041
[[ -f results/align/alpha.bam ]] || false
4142
[[ -f results/align/beta.bai ]] || false
@@ -46,6 +47,7 @@ $NXF_RUN --save_bam_bai | tee stdout
4647
[[ -L results/quant/beta ]] || false
4748
[[ -L results/quant/delta ]] || false
4849
[[ -f results/samples.csv ]] || false
50+
[[ -f results/summary.txt ]] || false
4951

5052

5153
#
@@ -56,13 +58,13 @@ rm -rf results
5658

5759
$NXF_RUN --save_bam_bai -resume | tee stdout
5860

59-
[[ `grep INFO .nextflow.log | grep -c 'Cached process > fastqc'` == 3 ]] || false
60-
[[ `grep INFO .nextflow.log | grep -c 'Cached process > align'` == 3 ]] || false
61-
[[ `grep INFO .nextflow.log | grep -c 'Cached process > quant'` == 3 ]] || false
61+
[[ $(grep INFO .nextflow.log | grep -c 'Cached process > fastqc') == 3 ]] || false
62+
[[ $(grep INFO .nextflow.log | grep -c 'Cached process > align') == 3 ]] || false
63+
[[ $(grep INFO .nextflow.log | grep -c 'Cached process > quant') == 3 ]] || false
6264

63-
[[ -f results/fastqc/alpha.fastqc.log ]] || false
64-
[[ -f results/fastqc/beta.fastqc.log ]] || false
65-
[[ -f results/fastqc/delta.fastqc.log ]] || false
65+
[[ -f results/log/alpha.fastqc.log ]] || false
66+
[[ -f results/log/beta.fastqc.log ]] || false
67+
[[ -f results/log/delta.fastqc.log ]] || false
6668
[[ -f results/align/alpha.bai ]] || false
6769
[[ -f results/align/alpha.bam ]] || false
6870
[[ -f results/align/beta.bai ]] || false
@@ -73,3 +75,4 @@ $NXF_RUN --save_bam_bai -resume | tee stdout
7375
[[ -L results/quant/beta ]] || false
7476
[[ -L results/quant/delta ]] || false
7577
[[ -f results/samples.csv ]] || false
78+
[[ -f results/summary.txt ]] || false

0 commit comments

Comments
 (0)