summaryrefslogtreecommitdiff
path: root/release/src/router/busybox/testsuite/echo
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/router/busybox/testsuite/echo')
-rwxr-xr-xrelease/src/router/busybox/testsuite/echo/echo-does-not-print-newline1
-rwxr-xr-xrelease/src/router/busybox/testsuite/echo/echo-prints-argument1
-rwxr-xr-xrelease/src/router/busybox/testsuite/echo/echo-prints-arguments1
-rwxr-xr-xrelease/src/router/busybox/testsuite/echo/echo-prints-newline1
4 files changed, 4 insertions, 0 deletions
diff --git a/release/src/router/busybox/testsuite/echo/echo-does-not-print-newline b/release/src/router/busybox/testsuite/echo/echo-does-not-print-newline
new file mode 100755
index 00000000..2ed03caf
--- /dev/null
+++ b/release/src/router/busybox/testsuite/echo/echo-does-not-print-newline
@@ -0,0 +1 @@
+test `busybox echo -n word | wc -c` -eq 4
diff --git a/release/src/router/busybox/testsuite/echo/echo-prints-argument b/release/src/router/busybox/testsuite/echo/echo-prints-argument
new file mode 100755
index 00000000..98779dbb
--- /dev/null
+++ b/release/src/router/busybox/testsuite/echo/echo-prints-argument
@@ -0,0 +1 @@
+test `busybox echo fubar` = fubar
diff --git a/release/src/router/busybox/testsuite/echo/echo-prints-arguments b/release/src/router/busybox/testsuite/echo/echo-prints-arguments
new file mode 100755
index 00000000..4e4e3b43
--- /dev/null
+++ b/release/src/router/busybox/testsuite/echo/echo-prints-arguments
@@ -0,0 +1 @@
+test "`busybox echo foo bar`" = "foo bar"
diff --git a/release/src/router/busybox/testsuite/echo/echo-prints-newline b/release/src/router/busybox/testsuite/echo/echo-prints-newline
new file mode 100755
index 00000000..838671ef
--- /dev/null
+++ b/release/src/router/busybox/testsuite/echo/echo-prints-newline
@@ -0,0 +1 @@
+test `busybox echo word | wc -c` -eq 5