aboutsummaryrefslogtreecommitdiff
path: root/testsuite/echo
diff options
context:
space:
mode:
authorGravatar Matt Kraai <kraai@debian.org>2001-10-30 23:11:20 +0000
committerGravatar Matt Kraai <kraai@debian.org>2001-10-30 23:11:20 +0000
commit3889078dbe09a9d85b359e9c0c0c225e0bbea343 (patch)
treee258582c0f14f06750e480e2c244260e79860fd0 /testsuite/echo
parent999623e9736d21177d1f437679b334e0347a6e0f (diff)
downloadbusybox-3889078dbe09a9d85b359e9c0c0c225e0bbea343.tar.gz
busybox-3889078dbe09a9d85b359e9c0c0c225e0bbea343.tar.bz2
Merge test suite.
Diffstat (limited to 'testsuite/echo')
-rw-r--r--testsuite/echo/echo-does-not-print-newline1
-rw-r--r--testsuite/echo/echo-prints-argument1
-rw-r--r--testsuite/echo/echo-prints-arguments1
-rw-r--r--testsuite/echo/echo-prints-newline1
4 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/echo/echo-does-not-print-newline b/testsuite/echo/echo-does-not-print-newline
new file mode 100644
index 000000000..2ed03caf5
--- /dev/null
+++ b/testsuite/echo/echo-does-not-print-newline
@@ -0,0 +1 @@
+test `busybox echo -n word | wc -c` -eq 4
diff --git a/testsuite/echo/echo-prints-argument b/testsuite/echo/echo-prints-argument
new file mode 100644
index 000000000..98779dbbb
--- /dev/null
+++ b/testsuite/echo/echo-prints-argument
@@ -0,0 +1 @@
+test `busybox echo fubar` = fubar
diff --git a/testsuite/echo/echo-prints-arguments b/testsuite/echo/echo-prints-arguments
new file mode 100644
index 000000000..4e4e3b434
--- /dev/null
+++ b/testsuite/echo/echo-prints-arguments
@@ -0,0 +1 @@
+test "`busybox echo foo bar`" = "foo bar"
diff --git a/testsuite/echo/echo-prints-newline b/testsuite/echo/echo-prints-newline
new file mode 100644
index 000000000..838671efe
--- /dev/null
+++ b/testsuite/echo/echo-prints-newline
@@ -0,0 +1 @@
+test `busybox echo word | wc -c` -eq 5