aboutsummaryrefslogtreecommitdiff
path: root/testsuite/echo
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-30 00:39:22 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-30 00:39:22 +0000
commitdcbd350ccfe7eaa4feab038f97a382684f2adea9 (patch)
treeb06da24101aa74d8dd25b1c51461bda52d675388 /testsuite/echo
parenta2dcb5017503acea97547e4c538a47f920d752f7 (diff)
downloadbusybox-dcbd350ccfe7eaa4feab038f97a382684f2adea9.tar.gz
echo: fix echo -e -n "msg\n\0"
(by "Pinedo, David" <david.pinedo AT hp.com>)
Diffstat (limited to 'testsuite/echo')
-rw-r--r--testsuite/echo/echo-prints-slash-zero1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/echo/echo-prints-slash-zero b/testsuite/echo/echo-prints-slash-zero
new file mode 100644
index 000000000..d2466326f
--- /dev/null
+++ b/testsuite/echo/echo-prints-slash-zero
@@ -0,0 +1 @@
+test "`busybox echo -e -n 'msg\n\0' | od -t x1 | head -n 1`" = "0000000 6d 73 67 0a 00"