Bläddra i källkod

Merge pull request #143 from loxybjorn/grep_using_double_quotation_marks

Change rebar_ct:check_log/3 to use double quotes
pull/3/head
Dave Smith 11 år sedan
förälder
incheckning
209c013dff
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      src/rebar_ct.erl

+ 1
- 1
src/rebar_ct.erl Visa fil

@ -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,

Laddar…
Avbryt
Spara