aboutsummaryrefslogtreecommitdiff
path: root/testsuite/gzip/gzip-removes-original-file
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2002-02-05 22:31:48 +0000
committerMatt Kraai <kraai@debian.org>2002-02-05 22:31:48 +0000
commit9bd49d6a22a31bd3b5e3e3dcaacdb8a019630506 (patch)
tree7c3cfb740d90bcdaffe7f09ddbd90531ac2e53e9 /testsuite/gzip/gzip-removes-original-file
parent592a3e63ee06604eb27a888ffb03a0ff3dbf5cf0 (diff)
downloadbusybox-9bd49d6a22a31bd3b5e3e3dcaacdb8a019630506.tar.gz
* archival/gzip.c (ifname, ofname): Delete.
(gzip_main): Handle multiple files. * include/usage.h (gzip_trivial_usage): Allow multiple FILEs. (gzip_full_usage): Ditto. * testsuite/gzip/gzip-accepts-multiple-files: New. * testsuite/gzip/gzip-removes-original-file: New.
Diffstat (limited to 'testsuite/gzip/gzip-removes-original-file')
-rw-r--r--testsuite/gzip/gzip-removes-original-file3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/gzip/gzip-removes-original-file b/testsuite/gzip/gzip-removes-original-file
new file mode 100644
index 000000000..b9cb995bc
--- /dev/null
+++ b/testsuite/gzip/gzip-removes-original-file
@@ -0,0 +1,3 @@
+touch foo
+busybox gzip foo
+test ! -f foo