From e59b1c5ad43c010e6d7dd3d2eabc10df156fcc61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Sun, 28 Feb 2016 11:39:56 +0100 Subject: sys_SUITE: Replace test_server:capture*/0 with ct:capture*/0 --- lib/stdlib/test/sys_SUITE.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/stdlib/test/sys_SUITE.erl') diff --git a/lib/stdlib/test/sys_SUITE.erl b/lib/stdlib/test/sys_SUITE.erl index 9f3462a501..288361d26c 100644 --- a/lib/stdlib/test/sys_SUITE.erl +++ b/lib/stdlib/test/sys_SUITE.erl @@ -99,13 +99,13 @@ trace(suite) -> []; trace(Config) when is_list(Config) -> {ok,_Server} = start(), ct:sleep(2000), - test_server:capture_start(), + ct:capture_start(), sys:trace(?server,true), {ok,-44} = public_call(44), %% ho, hum, allow for the io to reach us.. ct:sleep(1000), - test_server:capture_stop(), - [Msg1,Msg2] = test_server:capture_get(), + ct:capture_stop(), + [Msg1,Msg2] = ct:capture_get(), "*DBG* sys_SUITE_server got call {req,44} from " ++ _ = Msg1, "*DBG* sys_SUITE_server sent {ok,-44} to " ++ _ = Msg2, stop(), -- cgit v1.2.3