summaryrefslogtreecommitdiffhomepage
path: root/testsuite
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2002-03-27 17:46:44 +0000
committerMatt Kraai <kraai@debian.org>2002-03-27 17:46:44 +0000
commitcf32ac543c618dec10a01a14744cee6e306d430e (patch)
tree4f91dbf1dbce9140ecf4504f2005be1101a6d811 /testsuite
parent35d60421b4f61de9f5ed39c3057555e6f64d75a7 (diff)
* archival/bunzip2.c (bunzip2_main): Remove compressed file.
* testsuite/bunzip2/bunzip2-removes-compressed-file: New.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/bunzip2/bunzip2-removes-compressed-file3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/bunzip2/bunzip2-removes-compressed-file b/testsuite/bunzip2/bunzip2-removes-compressed-file
new file mode 100644
index 000000000..f1d15503e
--- /dev/null
+++ b/testsuite/bunzip2/bunzip2-removes-compressed-file
@@ -0,0 +1,3 @@
+echo foo | bzip2 >foo.bz2
+busybox bunzip2 foo.bz2
+test ! -f foo.bz2