From 572dfb8e78323b9837f7c5e3369ee233a440b8f2 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Wed, 21 Nov 2018 10:19:28 +0800 Subject: 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 Signed-off-by: Denys Vlasenko --- testsuite/echo/echo-prints-slash_00041 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/echo/echo-prints-slash_00041') diff --git a/testsuite/echo/echo-prints-slash_00041 b/testsuite/echo/echo-prints-slash_00041 index 9cffabde0..7ea217bc5 100644 --- a/testsuite/echo/echo-prints-slash_00041 +++ b/testsuite/echo/echo-prints-slash_00041 @@ -1,3 +1,3 @@ -# FEATURE: CONFIG_FEATURE_FANCY_ECHO +# FEATURE: CONFIG_FEATURE_FANCY_ECHO CONFIG_DESKTOP test "`busybox echo -ne '\00041z' | od -t x1 | head -n 1`" = "0000000 04 31 7a" -- cgit v1.2.3