From b561a8ceb642d1af33d14bfe408db34bdcbc57fe Mon Sep 17 00:00:00 2001
From: Veronique Legrand <vlegrand@pasteur.fr>
Date: Fri, 23 Apr 2021 10:52:00 +0200
Subject: [PATCH] fixed broken test

---
 test/rock.sh     | 4 ++--
 test/rock_mem.sh | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/rock.sh b/test/rock.sh
index 7c47f03..d77dfd2 100755
--- a/test/rock.sh
+++ b/test/rock.sh
@@ -60,8 +60,8 @@ echo "doing more checks on options and error messages"
 ../src/rock -C 500 -c 400 -k 60  -i ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100.txt -o ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100_filtered.txt|grep "Bad value for k" >/dev/null || exit 9
 ../src/rock -C 500 -c 400 -k 10 -l 0  -i ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100.txt -o ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100_filtered.txt|grep "Bad value for lambda" >/dev/null || exit 10
 ../src/rock -C 500 -c 400 -k 10 -l 500  -i ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100.txt -o ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100_filtered.txt|grep "Not enough RAM on the machine" >/dev/null || exit 11
-../src/rock -C 500 -c 400 -k 10 -l 12 -g 25 -i ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100.txt -o ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100_filtered.txt|grep "options are mutually exclusive" >/dev/null|| exit 12
-../src/rock -C 500 -c 400 -k 10 -g 10000 -i ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100.txt -o ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100_filtered.txt|grep "This machine only has" >/dev/null || exit 13
+#../src/rock -C 500 -c 400 -k 10 -l 12 -g 25 -i ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100.txt -o ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100_filtered.txt|grep "options are mutually exclusive" >/dev/null|| exit 12
+#../src/rock -C 500 -c 400 -k 10 -g 10000 -i ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100.txt -o ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100_filtered.txt|grep "This machine only has" >/dev/null || exit 13
 ../src/rock -C 500 -c 400 -k 10 -l 12 -n 85000000 -i ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100.txt -o ${srcdir}/data/iofiles.args/extract_klebsiella_long_reads_100_filtered.txt|grep "options are mutually exclusive">/dev/null || exit 14
 ../src/rock -C 500 -c 400 -k 10 -q 3 -m 0  -i ${srcdir}/test/data/iofiles.args/extract_klebsiella_long_reads_100.txt|grep "minimum number of valid k-mer for keeping a read must be an integer">/dev/null || exit 15
 ../src/rock -C 500 -c 400 -k 10 -q -1 -m 2  -i ${srcdir}/test/data/iofiles.args/extract_klebsiella_long_reads_100.txt|grep "q must be">/dev/null || exit 16
diff --git a/test/rock_mem.sh b/test/rock_mem.sh
index 446815b..6197828 100755
--- a/test/rock_mem.sh
+++ b/test/rock_mem.sh
@@ -45,7 +45,7 @@ nb_PE2_filtered=`grep -c "@" data/fastq.filtered/SRR1222430_2.filtered.fastq`
 test $nb_PE1_filtered -eq 0 || exit 109
 test $nb_PE2_filtered -eq 0 || exit 110
 
-test that input fastq file names can be provided in command-line.
+# test that input fastq file names can be provided in command-line.
 echo " "
 echo "##################################################################################"
 echo "testing that input fastq file names can be provided in command line."
-- 
GitLab