1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#!/bin/bash
set -e
# run racon with package test data
/usr/bin/racon /usr/share/doc/racon/examples/data/sample_reads.fastq.gz \
/usr/share/doc/racon/examples/data/sample_overlaps.paf.gz \
/usr/share/doc/racon/examples/data/sample_layout.fasta.gz > ${AUTOPKGTEST_TMP}/racon.stdout
# compare output with expected output
if diff -q ${AUTOPKGTEST_TMP}/racon.stdout debian/tests/racon.expected 2>/dev/null ; then
echo "racon output matches expected output"
echo "PASS"
exit 0
fi
echo "FAIL racon output does not match debian/tests/racon.expected"
exit 1
|