]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_test/test/test_write_tab
rewrote write_tab
[biopieces.git] / bp_test / test / test_write_tab
index 21e9e352c3e1f8619efface21ce76601225bad93..66707028dffb3951e5b50f358b5b0b4930eb7abc 100755 (executable)
@@ -4,25 +4,42 @@ source "$BP_DIR/bp_test/lib/test.sh"
 
 run "$bp -I $in -o $tmp -x"
 assert_no_diff $tmp $out.1
-rm $tmp
+clean
 
 run "$bp -I $in -c -o $tmp -x"
 assert_no_diff $tmp $out.2
-rm $tmp
+clean
 
 run "$bp -I $in -d ',' -o $tmp -x"
 assert_no_diff $tmp $out.3
-rm $tmp
+clean
 
-run "$bp -I $in -Z -o $tmp.gz -x"
+run "$bp -I $in -Z gzip -o $tmp.gz -x"
 gunzip $tmp.gz
 assert_no_diff $tmp $out.4
-rm $tmp
+clean
+
+run "$bp -I $in -Z bzip2 -o $tmp.bz2 -x"
+bunzip2 $tmp.bz2
+assert_no_diff $tmp $out.4
+clean
 
 run "$bp -I $in -k 'Count' -o $tmp -x"
 assert_no_diff $tmp $out.5
-rm $tmp
+clean
 
 run "$bp -I $in -K 'Count' -o $tmp -x"
 assert_no_diff $tmp $out.6
-rm $tmp
+clean
+
+run "$bp -I $in -p -o $tmp -x"
+assert_no_diff $tmp $out.7
+clean
+
+run "$bp -I $in -p -C -o $tmp -x"
+assert_no_diff $tmp $out.8
+clean
+
+run "$bp -I $in -p -c -C -o $tmp -x"
+assert_no_diff $tmp $out.9
+clean