diff options
author | Hans Nilsson <[email protected]> | 2015-11-23 10:49:16 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2015-11-23 14:19:48 +0100 |
commit | b5df882f98c13ac52535f70e50473b9d6c1fb929 (patch) | |
tree | 2415c1d76cd69a8001e5686af2f4a4f0ceb4d0ca /lib/ssh/test/ssh_renegotiate_SUITE.erl | |
parent | 3dd45583508269dc0189277002e140dd0a1369ba (diff) | |
download | otp-b5df882f98c13ac52535f70e50473b9d6c1fb929.tar.gz otp-b5df882f98c13ac52535f70e50473b9d6c1fb929.tar.bz2 otp-b5df882f98c13ac52535f70e50473b9d6c1fb929.zip |
ssh: renegotiate test group for AES_GCM
Diffstat (limited to 'lib/ssh/test/ssh_renegotiate_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_renegotiate_SUITE.erl | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_renegotiate_SUITE.erl b/lib/ssh/test/ssh_renegotiate_SUITE.erl index ef631d54bd..227dfcddcd 100644 --- a/lib/ssh/test/ssh_renegotiate_SUITE.erl +++ b/lib/ssh/test/ssh_renegotiate_SUITE.erl @@ -32,9 +32,15 @@ suite() -> [{ct_hooks,[ts_install_cth]}]. -all() -> [rekey, rekey_limit, renegotiate1, renegotiate2]. +all() -> [{group,default_algs}, + {group,aes_gcm} + ]. -groups() -> []. +groups() -> [{default_algs, [], tests()}, + {aes_gcm, [], tests()} + ]. + +tests() -> [rekey, rekey_limit, renegotiate1, renegotiate2]. %%-------------------------------------------------------------------- init_per_suite(Config) -> @@ -50,6 +56,18 @@ end_per_suite(_Config) -> crypto:stop(). %%-------------------------------------------------------------------- +init_per_group(aes_gcm, Config) -> + [{preferred_algorithms, [{cipher,[{client2server,['[email protected]']}, + {server2client,['[email protected]']}]}]} + | Config]; +init_per_group(_, Config) -> + [{preferred_algorithms, ssh:default_algorithms()} | Config]. + + +end_per_group(_, Config) -> + Config. + +%%-------------------------------------------------------------------- init_per_testcase(_TestCase, Config) -> ssh:start(), Config. |