summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2011-12-29 18:40:18 -0800
committerDave Smith <dizzyd@dizzyd.com>2011-12-29 18:40:18 -0800
commit9872873fe2392c075b1f000886fc3efb18ab4666 (patch)
treea6ffa68b3d42b11d4f5fc77664c8d03bd2ebfb07 /src
parent3be021d31fad6d79fa7852cdb2b75afca8195dd8 (diff)
parentc8f56c7cb239f267a12e86afdfc4b87c9052eba7 (diff)
Merge pull request #168 from tomas-abrahamsson/eunit-inet_gethost_native
Error report killing inet_gethost_native after eunit
Diffstat (limited to 'src')
-rw-r--r--src/rebar_eunit.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl
index 2b887ee..2743b0e 100644
--- a/src/rebar_eunit.erl
+++ b/src/rebar_eunit.erl
@@ -477,7 +477,11 @@ kill_extras(Pids) ->
%% This list may require changes as OTP versions and/or
%% rebar use cases change.
KeepProcs = [cover_server, eunit_server,
- eqc, eqc_license, eqc_locked],
+ eqc, eqc_license, eqc_locked,
+ %% inet_gethost_native is started on demand, when
+ %% doing name lookups. It is under kernel_sup, under
+ %% a supervisor_bridge.
+ inet_gethost_native],
Killed = [begin
Info = case erlang:process_info(Pid) of
undefined -> [];