From: Martin Willi Date: Tue, 14 Oct 2014 09:57:06 +0000 (+0200) Subject: process: Don't use the shells built-in echo in tests X-Git-Tag: 5.2.1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=784916e28dbbba0e0a02a5b2ea0ef5286b70d340;p=thirdparty%2Fstrongswan.git process: Don't use the shells built-in echo in tests On OS X, the /bin/sh built-in echo does not support -n. --- diff --git a/src/libstrongswan/tests/suites/test_process.c b/src/libstrongswan/tests/suites/test_process.c index f4013136ba..9b1c575390 100644 --- a/src/libstrongswan/tests/suites/test_process.c +++ b/src/libstrongswan/tests/suites/test_process.c @@ -156,7 +156,7 @@ START_TEST(test_env) #else "/bin/sh", "-c", - "echo -n $A $B", + "/bin/echo -n $A $B", #endif NULL };