summaryrefslogtreecommitdiff
path: root/testsuite/tar/tar-extracts-to-standard-output
diff options
context:
space:
mode:
authorMatt Kraai2003-05-18 21:12:36 +0000
committerMatt Kraai2003-05-18 21:12:36 +0000
commit0861e828d028cdb6ad0798143a88c9eb6fabb631 (patch)
tree58a8a0d53b85c8c15b69f2bfaa6fd4cc87a92d9a /testsuite/tar/tar-extracts-to-standard-output
parent900c8f3362c4f694fea300c4f36322271659ff87 (diff)
downloadbusybox-0861e828d028cdb6ad0798143a88c9eb6fabb631.zip
busybox-0861e828d028cdb6ad0798143a88c9eb6fabb631.tar.gz
Handle -O preceding -x.
Diffstat (limited to 'testsuite/tar/tar-extracts-to-standard-output')
-rw-r--r--testsuite/tar/tar-extracts-to-standard-output3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tar/tar-extracts-to-standard-output b/testsuite/tar/tar-extracts-to-standard-output
new file mode 100644
index 0000000..ca48e36
--- /dev/null
+++ b/testsuite/tar/tar-extracts-to-standard-output
@@ -0,0 +1,3 @@
+echo foo > foo
+tar cf foo.tar foo
+cat foo.tar | busybox tar Ox | cmp foo -