summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2013-09-20 06:57:09 -0700
committerDave Smith <dizzyd@dizzyd.com>2013-09-20 06:57:09 -0700
commit209c013dff99482dbce51a50833e99f9ba4d59b2 (patch)
tree5f6e770adda2478aeec95ec0ccf9968cbd54e859
parent620c4b01c6e59d47e92ea069f8510b8cb482ebae (diff)
parent1dfe56b3c6ada3b1bf91cf2956ffbbe50436e213 (diff)
Merge pull request #143 from loxybjorn/grep_using_double_quotation_marks
Change rebar_ct:check_log/3 to use double quotes
-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 04b2a51..74ae618 100644
--- a/src/rebar_ct.erl
+++ b/src/rebar_ct.erl
@@ -149,7 +149,7 @@ check_fail_log(Config, RawLog, Command, Result) ->
check_log(Config,RawLog,Fun) ->
{ok, Msg} =
- rebar_utils:sh("grep -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,