aboutsummaryrefslogtreecommitdiff
path: root/testsuite/gzip
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gzip')
-rw-r--r--testsuite/gzip/gzip-accepts-multiple-files3
-rw-r--r--testsuite/gzip/gzip-removes-original-file3
2 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/gzip/gzip-accepts-multiple-files b/testsuite/gzip/gzip-accepts-multiple-files
new file mode 100644
index 000000000..8f0d9c845
--- /dev/null
+++ b/testsuite/gzip/gzip-accepts-multiple-files
@@ -0,0 +1,3 @@
+touch foo bar
+busybox gzip foo bar
+test -f foo.gz -a -f bar.gz
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