process: Don't use the shells built-in echo in tests
authorMartin Willi <martin@revosec.ch>
Tue, 14 Oct 2014 09:57:06 +0000 (11:57 +0200)
committerMartin Willi <martin@revosec.ch>
Tue, 14 Oct 2014 14:33:10 +0000 (16:33 +0200)
On OS X, the /bin/sh built-in echo does not support -n.

src/libstrongswan/tests/suites/test_process.c

index f401313..9b1c575 100644 (file)
@@ -156,7 +156,7 @@ START_TEST(test_env)
 #else
                "/bin/sh",
                "-c",
-               "echo -n $A $B",
+               "/bin/echo -n $A $B",
 #endif
                NULL
        };