summaryrefslogtreecommitdiff
path: root/busybox/testsuite/echo
diff options
context:
space:
mode:
authornobody2004-10-13 09:42:10 +0000
committernobody2004-10-13 09:42:10 +0000
commit8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373 (patch)
tree1826706cd4fd009fcd14f4f8021005ec8ec0fa59 /busybox/testsuite/echo
downloadbusybox-8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373.zip
busybox-8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373.tar.gz
This commit was manufactured by cvs2svn to create tag 'busybox_1_00'.
Diffstat (limited to 'busybox/testsuite/echo')
-rw-r--r--busybox/testsuite/echo/echo-does-not-print-newline1
-rw-r--r--busybox/testsuite/echo/echo-prints-argument1
-rw-r--r--busybox/testsuite/echo/echo-prints-arguments1
-rw-r--r--busybox/testsuite/echo/echo-prints-newline1
4 files changed, 4 insertions, 0 deletions
diff --git a/busybox/testsuite/echo/echo-does-not-print-newline b/busybox/testsuite/echo/echo-does-not-print-newline
new file mode 100644
index 0000000..2ed03ca
--- /dev/null
+++ b/busybox/testsuite/echo/echo-does-not-print-newline
@@ -0,0 +1 @@
+test `busybox echo -n word | wc -c` -eq 4
diff --git a/busybox/testsuite/echo/echo-prints-argument b/busybox/testsuite/echo/echo-prints-argument
new file mode 100644
index 0000000..479dac8
--- /dev/null
+++ b/busybox/testsuite/echo/echo-prints-argument
@@ -0,0 +1 @@
+test xfubar = x`busybox echo fubar`
diff --git a/busybox/testsuite/echo/echo-prints-arguments b/busybox/testsuite/echo/echo-prints-arguments
new file mode 100644
index 0000000..4e4e3b4
--- /dev/null
+++ b/busybox/testsuite/echo/echo-prints-arguments
@@ -0,0 +1 @@
+test "`busybox echo foo bar`" = "foo bar"
diff --git a/busybox/testsuite/echo/echo-prints-newline b/busybox/testsuite/echo/echo-prints-newline
new file mode 100644
index 0000000..838671e
--- /dev/null
+++ b/busybox/testsuite/echo/echo-prints-newline
@@ -0,0 +1 @@
+test `busybox echo word | wc -c` -eq 5