From 24720b5e5b9a9d31219eddc6abaaabaf7cffdfc8 Mon Sep 17 00:00:00 2001 From: Artem Tarasov Date: Sat, 10 Sep 2016 09:34:57 +0200 Subject: [PATCH] fix test for PG --- .test_suite.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.test_suite.sh b/.test_suite.sh index b9525086..87bcf8bb 100755 --- a/.test_suite.sh +++ b/.test_suite.sh @@ -84,7 +84,12 @@ testIssue204() { testIssue206() { ./build/sambamba markdup ex1_header.sorted.bam ex1_header.dedup.bam 2>/dev/null - ./build/sambamba view -H ex1_header.dedup.bam | grep '@PG' | grep -q 'sambamba markdup' + ./build/sambamba view -H ex1_header.dedup.bam | grep '@PG' | grep -q 'sambamba' + assertEquals 0 $? + + ./build/sambamba view ex1_header.sorted.bam -f bam -o ex1_header.filtered.bam\ + -F "supplementary or secondary_alignment" + ./build/sambamba view -H ex1_header.filtered.bam | grep '@PG' | grep -q 'secondary' assertEquals 0 $? }