From 3f9b346dec1ba98290350c2d3477d8de89a73fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kl=C3=B6tzke?= Date: Sat, 1 Oct 2011 13:19:49 +0200 Subject: Fix the 'ct' target to work on Windows with MSYS --- src/rebar_ct.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_ct.erl b/src/rebar_ct.erl index 1b5ceff..0303787 100644 --- a/src/rebar_ct.erl +++ b/src/rebar_ct.erl @@ -102,7 +102,7 @@ clear_log(RawLog) -> %% log results check_log(RawLog) -> {ok, Msg} = - rebar_utils:sh("egrep -e 'TEST COMPLETE' -e '{error,make_failed}' " + rebar_utils:sh("grep -e 'TEST COMPLETE' -e '{error,make_failed}' " ++ RawLog, [{use_stdout, false}]), MakeFailed = string:str(Msg, "{error,make_failed}") =/= 0, RunFailed = string:str(Msg, ", 0 failed") =:= 0, -- cgit v1.1