summaryrefslogtreecommitdiff
path: root/src/rebar_ct.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-07-13 20:22:03 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-07-14 13:03:54 +0200
commit4e0ab4065f3fdf81574d60d26e072386f6244c37 (patch)
tree49930819d668b929f09d5b358a4c6093107636b7 /src/rebar_ct.erl
parent12b26fab32a1477d0d762ceea329291c86730528 (diff)
Fix grep portability (Reported-by: Andrew Thompson)
Diffstat (limited to 'src/rebar_ct.erl')
-rw-r--r--src/rebar_ct.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_ct.erl b/src/rebar_ct.erl
index 7ce6142..2b6c5e3 100644
--- a/src/rebar_ct.erl
+++ b/src/rebar_ct.erl
@@ -90,7 +90,7 @@ clear_log(RawLog) ->
%% log results
check_log(RawLog) ->
{ok, Msg} =
- rebar_utils:sh("grep -e 'TEST COMPLETE' -e '{error,make_failed}' "
+ rebar_utils:sh("egrep -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,