X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_test%2Ftest%2Ftest_write_fasta;h=4307e2590cd68261d3c82b0919420bb23fae9b67;hb=5de6112b70b59420b245ce636a8b2e3c90acbe00;hp=ba772cab5daacfaaea79961ace54d1e7535ec3e2;hpb=0e16a431857146d4ae040ea228f58ef2b9491ddf;p=biopieces.git diff --git a/bp_test/test/test_write_fasta b/bp_test/test/test_write_fasta index ba772ca..4307e25 100755 --- a/bp_test/test/test_write_fasta +++ b/bp_test/test/test_write_fasta @@ -2,15 +2,20 @@ source "$BP_DIR/bp_test/lib/test.sh" -run "write_fasta -I $in -o $tmp -x" +run "$bp -I $in -o $tmp -x" assert_no_diff $tmp $out.1 -rm $tmp +clean -run "write_fasta -I $in -w 4 -o $tmp -x" +run "$bp -I $in -w 4 -o $tmp -x" assert_no_diff $tmp $out.2 -rm $tmp +clean -run "write_fasta -I $in -w 4 -Z -o $tmp.gz -x" +run "$bp -I $in -w 4 -Z gzip -o $tmp.gz -x" gunzip $tmp.gz assert_no_diff $tmp $out.3 -rm $tmp +clean + +run "$bp -I $in -w 4 -Z bzip2 -o $tmp.bz2 -x" +bunzip2 $tmp.bz2 +assert_no_diff $tmp $out.3 +clean