Skip to content

Commit c76ee2b

Browse files
changing permissions on the test_diff.test file
1 parent c9f6664 commit c76ee2b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

test_scripts/test_diff.test

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)