diff options
author | Matt Kraai | 2002-03-27 17:31:01 +0000 |
---|---|---|
committer | Matt Kraai | 2002-03-27 17:31:01 +0000 |
commit | 9cdb0601eb53ffdb3fb6b94bb1336adbc7d59e5c (patch) | |
tree | a8c2712e1b703f28ba0ca4ad662227ddea2bf413 /testsuite | |
parent | fa15f702d2e4c7d377d6cf89e950227405622f1b (diff) | |
download | busybox-9cdb0601eb53ffdb3fb6b94bb1336adbc7d59e5c.zip busybox-9cdb0601eb53ffdb3fb6b94bb1336adbc7d59e5c.tar.gz |
* archival/bunzip2.c: Include <unistd.h>.
(bunzip2_main): Read data from standard input if FILE argument is `-' or
omitted.
* include/usage.h (bunzip2_trivial_usage, bunzip2_full_usage): Rewrite.
* testsuite/bunzip2/bunzip2-reads-from-standard-input: New.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/bunzip2/bunzip2-reads-from-standard-input | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/bunzip2/bunzip2-reads-from-standard-input b/testsuite/bunzip2/bunzip2-reads-from-standard-input new file mode 100644 index 0000000..7bc8421 --- /dev/null +++ b/testsuite/bunzip2/bunzip2-reads-from-standard-input @@ -0,0 +1,2 @@ +echo foo | bzip2 -c | busybox bunzip2 -c > output +echo foo | cmp - output |