aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-10-06 13:24:39 +0200
committerSiri Hansen <[email protected]>2017-11-09 15:15:59 +0100
commit87dffbb6a0a6ce3b61d137edf33e243a890ab39a (patch)
tree7a543e2a2edf30299524ad0036d34ea43652f439 /lib/stdlib/test
parentf2d4d4fa6a6245da78fc145b7010ae6f36626ed5 (diff)
downloadotp-87dffbb6a0a6ce3b61d137edf33e243a890ab39a.tar.gz
otp-87dffbb6a0a6ce3b61d137edf33e243a890ab39a.tar.bz2
otp-87dffbb6a0a6ce3b61d137edf33e243a890ab39a.zip
[supervisor] Refactor handling of dynamic children
Diffstat (limited to 'lib/stdlib/test')
-rw-r--r--lib/stdlib/test/supervisor_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/test/supervisor_SUITE.erl b/lib/stdlib/test/supervisor_SUITE.erl
index ee26ba9309..f1e836d4e7 100644
--- a/lib/stdlib/test/supervisor_SUITE.erl
+++ b/lib/stdlib/test/supervisor_SUITE.erl
@@ -1217,7 +1217,7 @@ simple_one_for_one(Config) when is_list(Config) ->
[{Id4, Pid4, _, _}|_] = supervisor:which_children(sup_test),
terminate(SupPid, Pid4, Id4, abnormal),
- check_exit([SupPid]).
+ check_exit_reason(SupPid,shutdown).
%%-------------------------------------------------------------------------