We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6169997 commit 9207dceCopy full SHA for 9207dce
1 file changed
test_scripts/test_mlml.test
@@ -0,0 +1,25 @@
1
+#!/usr/bin/env bash
2
+
3
+archive=tests/mlml_test_data.tgz
4
+if [[ ! -e "${archive}" ]] ; then
5
+ echo "input missing; skipping test";
6
+ exit 77;
7
+fi
8
9
+infile1=tests/bs.counts
10
+infile2=tests/tab.counts
11
+infile3=tests/oxbs.counts
12
+outfile=tests/mlml.out
13
+tar -xf ${archive} -C tests
14
+if [[ -e "${infile1}" || -e "${infile2}" || -e "${infile3}" ]]; then
15
+ ./dnmtools mlml -o ${outfile} -bsseq ${infile1} -tabseq ${infile2} -oxbsseq ${infile3}
16
+ x=$(md5sum -c tests/md5sum.txt | grep "${outfile}:" | cut -d ' ' -f 2)
17
+ rm -f ${infile1} ${infile2} ${infile3}
18
+ if [[ "${x}" != "OK" ]]; then
19
+ exit 1;
20
+ fi
21
+else
22
23
24
25
0 commit comments