Skip to content

Commit

Permalink
Add -cdf test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Feb 4, 2010
1 parent d52e2aa commit 26691cd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Expand Up @@ -31,6 +31,13 @@ test: pigz
./pigz -kfp 1 pigz.c ; ./pigz -t pigz.c.gz
./pigz -kfz pigz.c ; ./pigz -t pigz.c.zz
./pigz -kfK pigz.c ; ./pigz -t pigz.c.zip
printf "" | ./pigz -cdf | wc -c
printf "x" | ./pigz -cdf | wc -c
printf "xy" | ./pigz -cdf | wc -c
printf "xyz" | ./pigz -cdf | wc -c
(printf "w" | gzip ; printf "x") | ./pigz -cdf | wc -c
(printf "w" | gzip ; printf "xy") | ./pigz -cdf | wc -c
(printf "w" | gzip ; printf "xyz") | ./pigz -cdf | wc -c
compress -f < pigz.c | ./unpigz | cmp - pigz.c
rm -f pigz.c.gz pigz.c.zz pigz.c.zip

Expand Down

0 comments on commit 26691cd

Please sign in to comment.