Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-10-31 02:11:20 +0300
committerMatt Kraai <kraai@debian.org>2001-10-31 02:11:20 +0300
commit3889078dbe09a9d85b359e9c0c0c225e0bbea343 (patch)
treee258582c0f14f06750e480e2c244260e79860fd0 /testsuite/tee
parent999623e9736d21177d1f437679b334e0347a6e0f (diff)
Merge test suite.
Diffstat (limited to 'testsuite/tee')
-rw-r--r--testsuite/tee/tee-appends-input5
-rw-r--r--testsuite/tee/tee-tees-input3
2 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tee/tee-appends-input b/testsuite/tee/tee-appends-input
new file mode 100644
index 000000000..cff20bf7f
--- /dev/null
+++ b/testsuite/tee/tee-appends-input
@@ -0,0 +1,5 @@
+echo i\'m a little teapot >foo
+cp foo bar
+echo i\'m a little teapot >>foo
+echo i\'m a little teapot | busybox tee -a bar >/dev/null
+cmp foo bar
diff --git a/testsuite/tee/tee-tees-input b/testsuite/tee/tee-tees-input
new file mode 100644
index 000000000..26e217384
--- /dev/null
+++ b/testsuite/tee/tee-tees-input
@@ -0,0 +1,3 @@
+echo i\'m a little teapot >foo
+echo i\'m a little teapot | busybox tee bar >baz
+cmp foo bar && cmp foo baz