summaryrefslogtreecommitdiff
path: root/i/pc104/initrd/conf/busybox/testsuite/echo
diff options
context:
space:
mode:
Diffstat (limited to 'i/pc104/initrd/conf/busybox/testsuite/echo')
-rw-r--r--i/pc104/initrd/conf/busybox/testsuite/echo/echo-does-not-print-newline1
-rw-r--r--i/pc104/initrd/conf/busybox/testsuite/echo/echo-prints-argument1
-rw-r--r--i/pc104/initrd/conf/busybox/testsuite/echo/echo-prints-arguments1
-rw-r--r--i/pc104/initrd/conf/busybox/testsuite/echo/echo-prints-newline1
4 files changed, 4 insertions, 0 deletions
diff --git a/i/pc104/initrd/conf/busybox/testsuite/echo/echo-does-not-print-newline b/i/pc104/initrd/conf/busybox/testsuite/echo/echo-does-not-print-newline
new file mode 100644
index 0000000..2ed03ca
--- /dev/null
+++ b/i/pc104/initrd/conf/busybox/testsuite/echo/echo-does-not-print-newline
@@ -0,0 +1 @@
+test `busybox echo -n word | wc -c` -eq 4
diff --git a/i/pc104/initrd/conf/busybox/testsuite/echo/echo-prints-argument b/i/pc104/initrd/conf/busybox/testsuite/echo/echo-prints-argument
new file mode 100644
index 0000000..479dac8
--- /dev/null
+++ b/i/pc104/initrd/conf/busybox/testsuite/echo/echo-prints-argument
@@ -0,0 +1 @@
+test xfubar = x`busybox echo fubar`
diff --git a/i/pc104/initrd/conf/busybox/testsuite/echo/echo-prints-arguments b/i/pc104/initrd/conf/busybox/testsuite/echo/echo-prints-arguments
new file mode 100644
index 0000000..4e4e3b4
--- /dev/null
+++ b/i/pc104/initrd/conf/busybox/testsuite/echo/echo-prints-arguments
@@ -0,0 +1 @@
+test "`busybox echo foo bar`" = "foo bar"
diff --git a/i/pc104/initrd/conf/busybox/testsuite/echo/echo-prints-newline b/i/pc104/initrd/conf/busybox/testsuite/echo/echo-prints-newline
new file mode 100644
index 0000000..838671e
--- /dev/null
+++ b/i/pc104/initrd/conf/busybox/testsuite/echo/echo-prints-newline
@@ -0,0 +1 @@
+test `busybox echo word | wc -c` -eq 5