aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-06-13 10:29:06 +0200
committerBjörn Gustavsson <[email protected]>2017-06-13 12:25:32 +0200
commita27c69e55f6f10d63135b6323060cf76b41509da (patch)
treee1bb9b209e402eddbc36bcd7f4da83399267e375 /erts/emulator/test
parent8322886e6ac13476d01d6db96d5b50d376cc123e (diff)
downloadotp-a27c69e55f6f10d63135b6323060cf76b41509da.tar.gz
otp-a27c69e55f6f10d63135b6323060cf76b41509da.tar.bz2
otp-a27c69e55f6f10d63135b6323060cf76b41509da.zip
process_SUITE: Don't leave processes running
Diffstat (limited to 'erts/emulator/test')
-rw-r--r--erts/emulator/test/process_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/test/process_SUITE.erl b/erts/emulator/test/process_SUITE.erl
index 4204d12eb3..b993bf5c69 100644
--- a/erts/emulator/test/process_SUITE.erl
+++ b/erts/emulator/test/process_SUITE.erl
@@ -677,7 +677,7 @@ chk_pi_order([{Arg, _}| Values], [Arg|Args]) ->
chk_pi_order(Values, Args).
process_info_2_list(Config) when is_list(Config) ->
- Proc = spawn(fun () -> receive after infinity -> ok end end),
+ Proc = spawn_link(fun () -> receive after infinity -> ok end end),
register(process_SUITE_process_info_2_list1, self()),
register(process_SUITE_process_info_2_list2, Proc),
erts_debug:set_internal_state(available_internal_state,true),