Skip to content
Snippets Groups Projects
Commit 17ec9aa9 authored by arq5x's avatar arq5x
Browse files

cleanup unit tests.

parent c5d1e72d
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,8 @@ echo " general.t01...\c"
echo \
"chr1 1 10
chr1 -1 10" | $BT merge -i - 2> obs
echo "Error: malformed BED entry at line 2. Start Coordinate detected that is < 0. Exiting." > exp
echo "Error: Invalid record in file -. Record is
chr1 -1 10" > exp
check obs exp
rm obs exp
......@@ -29,7 +30,8 @@ echo " general.t02...\c"
echo \
"chr1 1 2
chr1 10 5" | $BT merge -i - 2> obs
echo "Error: malformed BED entry at line 2. Start was greater than end. Exiting." > exp
echo "Error: Invalid record in file -. Record is
chr1 10 5" > exp
check obs exp
rm obs exp
......@@ -39,7 +41,8 @@ rm obs exp
echo " general.t03...\c"
echo \
"chr1 . 2" | $BT merge -i - 2> obs
echo "Unexpected file format. Please use tab-delimited BED, GFF, or VCF. Perhaps you have non-integer starts or ends at line 1?" > exp
echo "Error: Invalid record in file -. Record is
chr1 -0 2" > exp
check obs exp
rm obs exp
......@@ -50,7 +53,8 @@ rm obs exp
echo " general.t04...\c"
echo \
"chr1 . 2" | $BT merge -i - 2> obs
echo "Unexpected file format. Please use tab-delimited BED, GFF, or VCF. Perhaps you have non-integer starts or ends at line 1?" > exp
echo "Error: Invalid record in file -. Record is
chr1 -0 2" > exp
check obs exp
rm obs exp
......@@ -61,7 +65,7 @@ rm obs exp
echo " general.t05...\c"
echo \
"chr1 1 2" | $BT merge -i - 2> obs
echo "It looks as though you have less than 3 columns at line: 1. Are you sure your files are tab-delimited?" > exp
echo "Error: unable to open file or unable to determine types for file -" > exp
check obs exp
rm obs exp
......@@ -71,7 +75,7 @@ rm obs exp
###########################################################
echo " general.t06...\c"
$BT merge -i idontexist.bed 2> obs
echo "Error: The requested file (idontexist.bed) could not be opened. Error message: (No such file or directory). Exiting!" > exp
echo "Error: Unable to open file idontexist.bed. Exiting." > exp
check obs exp
rm obs exp
......
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