Skip to content
Snippets Groups Projects
Commit 4bbe86d3 authored by arq5x's avatar arq5x
Browse files

[ENH] add test when -fullHeader not provided

parent 35619c1d
No related branches found
No related tags found
No related merge requests found
......@@ -10,11 +10,11 @@ BT=${BT-../../bin/bedtools}
check()
{
if $1 = $2; then
echo ok
else
echo fail
fi
if diff $1 $2; then
echo ok
else
echo fail
fi
}
echo " getfasta.t01...\c"
......@@ -68,3 +68,12 @@ if [ "$LINES" != "2" ]; then
else
echo ok
fi
# test without -fullHeader
echo " getfasta.t07...\c"
echo "WARNING. chromosome (chr1 assembled by consortium X) was not found in the FASTA file. Skipping." > exp
echo $'chr1 assembled by consortium X\t1\t10' | $BT getfasta -fi t_fH.fa -bed - -fo - 2> obs
check obs exp
rm obs exp
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment