mirror of
https://github.com/correl/rebar.git
synced 2024-11-14 19:19:30 +00:00
Merge pull request #143 from loxybjorn/grep_using_double_quotation_marks
Change rebar_ct:check_log/3 to use double quotes
This commit is contained in:
commit
209c013dff
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue