aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/old_ssl_passive_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-12 10:33:57 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:25:12 +0100
commite895e8ae96264ed7b5a0cb5f30f5a0af3d076831 (patch)
treea91340413e4c2961bb2778f23e73c540405c720b /lib/ssl/test/old_ssl_passive_SUITE.erl
parent65ff8409203e7154f4fbe03ed9d76ca7c1362eaf (diff)
downloadotp-e895e8ae96264ed7b5a0cb5f30f5a0af3d076831.tar.gz
otp-e895e8ae96264ed7b5a0cb5f30f5a0af3d076831.tar.bz2
otp-e895e8ae96264ed7b5a0cb5f30f5a0af3d076831.zip
Update ssl tests to conform with common_test standard
Diffstat (limited to 'lib/ssl/test/old_ssl_passive_SUITE.erl')
-rw-r--r--lib/ssl/test/old_ssl_passive_SUITE.erl36
1 files changed, 18 insertions, 18 deletions
diff --git a/lib/ssl/test/old_ssl_passive_SUITE.erl b/lib/ssl/test/old_ssl_passive_SUITE.erl
index 6de58a4da4..dcaa2ea8d4 100644
--- a/lib/ssl/test/old_ssl_passive_SUITE.erl
+++ b/lib/ssl/test/old_ssl_passive_SUITE.erl
@@ -20,7 +20,7 @@
%%
-module(old_ssl_passive_SUITE).
--export([all/1,
+-export([all/0,groups/0,init_per_group/2,end_per_group/2,
init_per_testcase/2,
end_per_testcase/2,
config/1,
@@ -40,7 +40,7 @@
-import(ssl_test_MACHINE, [mk_ssl_cert_opts/1, test_one_listener/7,
test_server_only/6]).
--include("test_server.hrl").
+-include_lib("test_server/include/test_server.hrl").
-include("ssl_test_MACHINE.hrl").
-define(MANYCONNS, ssl_test_MACHINE:many_conns()).
@@ -53,22 +53,22 @@ end_per_testcase(_Case, Config) ->
WatchDog = ?config(watchdog, Config),
test_server:timetrap_cancel(WatchDog).
-all(doc) ->
- "Test of ssl.erl interface in passive mode.";
-all(suite) ->
- {conf,
- config,
- [server_accept_timeout,
- cinit_return_chkclose,
- sinit_return_chkclose,
- cinit_big_return_chkclose,
- sinit_big_return_chkclose,
- cinit_big_echo_chkclose,
- sinit_big_echo_chkclose,
- cinit_few_echo_chkclose,
- cinit_many_echo_chkclose,
- cinit_cnocert],
- finish}.
+all() ->
+[server_accept_timeout, cinit_return_chkclose,
+ sinit_return_chkclose, cinit_big_return_chkclose,
+ sinit_big_return_chkclose, cinit_big_echo_chkclose,
+ sinit_big_echo_chkclose, cinit_few_echo_chkclose,
+ cinit_many_echo_chkclose, cinit_cnocert].
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
+
config(doc) ->
"Want to se what Config contains.";