diff options
author | Matt Kraai | 2002-04-15 15:01:37 +0000 |
---|---|---|
committer | Matt Kraai | 2002-04-15 15:01:37 +0000 |
commit | a0782684fd5076fd2ad5ca4f611249da83182108 (patch) | |
tree | 531b3fd32169ab5a0393d0629e9882d964383922 /testsuite/bunzip2/bzcat-does-not-remove-compressed-file | |
parent | 744ec1d54962d79528eef40dce5913edf9f78c6d (diff) | |
download | busybox-a0782684fd5076fd2ad5ca4f611249da83182108.zip busybox-a0782684fd5076fd2ad5ca4f611249da83182108.tar.gz |
* archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard
output.
* testsuite/bunzip2/bzcat-does-not-remove-compressed-file: New.
Diffstat (limited to 'testsuite/bunzip2/bzcat-does-not-remove-compressed-file')
-rw-r--r-- | testsuite/bunzip2/bzcat-does-not-remove-compressed-file | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/bunzip2/bzcat-does-not-remove-compressed-file b/testsuite/bunzip2/bzcat-does-not-remove-compressed-file new file mode 100644 index 0000000..7d4016e --- /dev/null +++ b/testsuite/bunzip2/bzcat-does-not-remove-compressed-file @@ -0,0 +1,3 @@ +echo foo | bzip2 >foo.bz2 +busybox bzcat foo.bz2 +test -f foo.bz2 |