aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/sys_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-02-28 11:39:56 +0100
committerBjörn Gustavsson <[email protected]>2016-03-09 13:20:00 +0100
commite59b1c5ad43c010e6d7dd3d2eabc10df156fcc61 (patch)
treeca6151da932fd510bc7adc25a3f0c8017da30c71 /lib/stdlib/test/sys_SUITE.erl
parent83eaeddc56555016a1ba61ab3a825932a70da2ca (diff)
downloadotp-e59b1c5ad43c010e6d7dd3d2eabc10df156fcc61.tar.gz
otp-e59b1c5ad43c010e6d7dd3d2eabc10df156fcc61.tar.bz2
otp-e59b1c5ad43c010e6d7dd3d2eabc10df156fcc61.zip
sys_SUITE: Replace test_server:capture*/0 with ct:capture*/0
Diffstat (limited to 'lib/stdlib/test/sys_SUITE.erl')
-rw-r--r--lib/stdlib/test/sys_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
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(),