aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/test/os_sup_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-01 17:50:22 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-01 17:50:22 +0200
commitab8b414921a2fe2738d7fcc0e66fe382a39ed247 (patch)
treee643bcf4671be7f95668221067cbfedaf44ae960 /lib/os_mon/test/os_sup_SUITE.erl
parentddff69ac445fe073682ac8aa9b9951b41ee450ef (diff)
downloadotp-ab8b414921a2fe2738d7fcc0e66fe382a39ed247.tar.gz
otp-ab8b414921a2fe2738d7fcc0e66fe382a39ed247.tar.bz2
otp-ab8b414921a2fe2738d7fcc0e66fe382a39ed247.zip
Eliminate use of test_server:fail/0,1
Diffstat (limited to 'lib/os_mon/test/os_sup_SUITE.erl')
-rw-r--r--lib/os_mon/test/os_sup_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/os_mon/test/os_sup_SUITE.erl b/lib/os_mon/test/os_sup_SUITE.erl
index 39e3c7e815..fb30e479a7 100644
--- a/lib/os_mon/test/os_sup_SUITE.erl
+++ b/lib/os_mon/test/os_sup_SUITE.erl
@@ -90,7 +90,7 @@ message(Config) when is_list(Config) ->
{result, true} ->
ok;
{result, Rec} ->
- ?t:fail({no_message, Rec})
+ ct:fail({no_message, Rec})
end,
ok.
@@ -131,10 +131,10 @@ port(Config) when is_list(Config) ->
{'DOWN', MonRef, _, _, {port_died, _Reason}} ->
ok;
{'DOWN', MonRef, _, _, Reason} ->
- ?t:fail({unexpected_exit_reason, Reason})
+ ct:fail({unexpected_exit_reason, Reason})
after
3000 ->
- ?t:fail(still_alive)
+ ct:fail(still_alive)
end,
%% Give os_mon_sup time to restart os_sup