We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f6664 commit c76ee2bCopy full SHA for c76ee2b
test_scripts/test_diff.test
@@ -0,0 +1,15 @@
1
+#!/usr/bin/env bash
2
+
3
+infile1=tests/methylome_a.counts.sym
4
+infile2=tests/methylome_b.counts.sym
5
+outfile=tests/methylome_ab.diff
6
+if [[ -e "${infile1}" || -e "${infile2}" ]]; then
7
+ ./dnmtools diff -o ${outfile} ${infile1} ${infile2}
8
+ x=$(md5sum -c tests/md5sum.txt | grep "${outfile}:" | cut -d ' ' -f 2)
9
+ if [[ "${x}" != "OK" ]]; then
10
+ exit 1;
11
+ fi
12
+else
13
+ echo "input missing; skipping test";
14
+ exit 77;
15
+fi
0 commit comments