summaryrefslogtreecommitdiffhomepage
path: root/testsuite/echo
diff options
context:
space:
mode:
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