* 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.
This commit is contained in:
3
testsuite/gzip/gzip-removes-original-file
Normal file
3
testsuite/gzip/gzip-removes-original-file
Normal file
@@ -0,0 +1,3 @@
|
||||
touch foo
|
||||
busybox gzip foo
|
||||
test ! -f foo
|
Reference in New Issue
Block a user