diff options
author | Lukas Larsson <lukas@erix.ericsson.se> | 2010-12-15 15:45:55 +0100 |
---|---|---|
committer | Niclas Eklund <nick@erlang.org> | 2011-05-19 14:38:12 +0200 |
commit | ca09b09dff13a70ff07c835c2ae951f3d7a2ac07 (patch) | |
tree | 3999c61f9a461829b101e4476ad48714eaea2008 /lib/ssh/test/ssh_to_openssh_SUITE.erl | |
parent | d6e981e751b4565773204d7eb394ca445d63e771 (diff) | |
download | otp-ca09b09dff13a70ff07c835c2ae951f3d7a2ac07.tar.gz otp-ca09b09dff13a70ff07c835c2ae951f3d7a2ac07.tar.bz2 otp-ca09b09dff13a70ff07c835c2ae951f3d7a2ac07.zip |
Convert ssh test cases to common test stardard
Diffstat (limited to 'lib/ssh/test/ssh_to_openssh_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_to_openssh_SUITE.erl | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/lib/ssh/test/ssh_to_openssh_SUITE.erl b/lib/ssh/test/ssh_to_openssh_SUITE.erl index 1b7a9b23ed..12a350903a 100644 --- a/lib/ssh/test/ssh_to_openssh_SUITE.erl +++ b/lib/ssh/test/ssh_to_openssh_SUITE.erl @@ -20,7 +20,7 @@ %% -module(ssh_to_openssh_SUITE). --include("test_server.hrl"). +-include_lib("common_test/include/ct.hrl"). -include("test_server_line.hrl"). %% Note: This directive should only be used in test suites. @@ -90,13 +90,9 @@ end_per_testcase(_TestCase, _Config) -> %% Name of a test case. %% Description: Returns a list of all test cases in this test suite %%-------------------------------------------------------------------- -all(doc) -> - ["Test ssh API"]; - -all(suite) -> +all() -> case os:find_executable("ssh") of - false -> - {skip, "openSSH not installed on host"}; + false -> {skip, "openSSH not installed on host"}; _ -> [erlang_shell_client_openssh_server, erlang_client_openssh_server_exec, @@ -110,6 +106,16 @@ all(suite) -> erlang_client_openssh_server_password] end. +groups() -> + []. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + + %% TEST cases starts here. %%-------------------------------------------------------------------- erlang_shell_client_openssh_server(doc) -> |