summaryrefslogtreecommitdiff
path: root/testsuite/cat/cat-prints-a-file-and-standard-input
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/cat/cat-prints-a-file-and-standard-input')
-rw-r--r--testsuite/cat/cat-prints-a-file-and-standard-input7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/cat/cat-prints-a-file-and-standard-input b/testsuite/cat/cat-prints-a-file-and-standard-input
new file mode 100644
index 0000000..bc92318
--- /dev/null
+++ b/testsuite/cat/cat-prints-a-file-and-standard-input
@@ -0,0 +1,7 @@
+echo I WANT > foo
+echo SOMETHING | busybox cat foo - >bar
+cat >baz <<EOF
+I WANT
+SOMETHING
+EOF
+cmp bar baz