From a0782684fd5076fd2ad5ca4f611249da83182108 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Mon, 15 Apr 2002 15:01:37 +0000 Subject: * archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard output. * testsuite/bunzip2/bzcat-does-not-remove-compressed-file: New. --- testsuite/bunzip2/bzcat-does-not-remove-compressed-file | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 testsuite/bunzip2/bzcat-does-not-remove-compressed-file (limited to 'testsuite/bunzip2') 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 000000000..7d4016ec5 --- /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 -- cgit v1.2.3