summaryrefslogtreecommitdiff
path: root/testsuite/echo/echo-prints-non-opts
diff options
context:
space:
mode:
authorChen Qi2018-11-21 10:19:28 +0800
committerDenys Vlasenko2018-11-27 16:57:36 +0100
commit572dfb8e78323b9837f7c5e3369ee233a440b8f2 (patch)
tree3d44f3c045040e1b329bd2571a152b49d9f74c64 /testsuite/echo/echo-prints-non-opts
parent71df2d3589e3e682cd6770f41f0b184841b78702 (diff)
downloadbusybox-572dfb8e78323b9837f7c5e3369ee233a440b8f2.zip
busybox-572dfb8e78323b9837f7c5e3369ee233a440b8f2.tar.gz
testsuite: check CONFIG_DESKTOP before using 'od -t'
The '-t' option for od is enabled by CONFIG_DESKTOP. So check this config before using 'od -t' in test cases. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/echo/echo-prints-non-opts')
-rw-r--r--testsuite/echo/echo-prints-non-opts1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/echo/echo-prints-non-opts b/testsuite/echo/echo-prints-non-opts
index c7d1e20..4e642a1 100644
--- a/testsuite/echo/echo-prints-non-opts
+++ b/testsuite/echo/echo-prints-non-opts
@@ -1 +1,2 @@
+# FEATURE: CONFIG_DESKTOP
test "`busybox echo -neEZ | od -t x1 | head -n 1`" = "0000000 2d 6e 65 45 5a 0a"