summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorMatt Kraai2001-12-20 22:09:31 +0000
committerMatt Kraai2001-12-20 22:09:31 +0000
commit2b1effdbbccf8f16ae3fed93d3178759a44d33d9 (patch)
tree53e02a8ad30b981e748925c8943ed3f52451e0c6 /testsuite
parentc5b5cab37d37a6dafa3c1e6b97401aca6e071b03 (diff)
downloadbusybox-2b1effdbbccf8f16ae3fed93d3178759a44d33d9.zip
busybox-2b1effdbbccf8f16ae3fed93d3178759a44d33d9.tar.gz
Write files when extracting an archive from standard input.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tar/tar-extracts-from-standard-input5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tar/tar-extracts-from-standard-input b/testsuite/tar/tar-extracts-from-standard-input
new file mode 100644
index 0000000..a30e9f0
--- /dev/null
+++ b/testsuite/tar/tar-extracts-from-standard-input
@@ -0,0 +1,5 @@
+touch foo
+tar cf foo.tar foo
+rm foo
+cat foo.tar | busybox tar x
+test -f foo