diff options
author | Lukas Larsson <[email protected]> | 2010-12-15 15:45:55 +0100 |
---|---|---|
committer | Niclas Eklund <[email protected]> | 2011-05-19 14:38:12 +0200 |
commit | ca09b09dff13a70ff07c835c2ae951f3d7a2ac07 (patch) | |
tree | 3999c61f9a461829b101e4476ad48714eaea2008 /lib/ssh/test/ssh_sftp_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_sftp_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_sftp_SUITE.erl | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/lib/ssh/test/ssh_sftp_SUITE.erl b/lib/ssh/test/ssh_sftp_SUITE.erl index eb7fbd6998..4cc157ebd4 100644 --- a/lib/ssh/test/ssh_sftp_SUITE.erl +++ b/lib/ssh/test/ssh_sftp_SUITE.erl @@ -23,7 +23,7 @@ %% Note: This directive should only be used in test suites. -compile(export_all). --include("test_server.hrl"). +-include_lib("common_test/include/ct.hrl"). -include("test_server_line.hrl"). -include_lib("kernel/include/file.hrl"). @@ -137,15 +137,21 @@ end_per_testcase(_Case, Config) -> %% Name of a test case. %% Description: Returns a list of all test cases in this test suite %%-------------------------------------------------------------------- -all(doc) -> - ["Test the sftp client"]; - -all(suite) -> - [ - open_close_file, open_close_dir, read_file, read_dir, write_file, - rename_file, mk_rm_dir, remove_file, links, retrieve_attributes, - set_attributes, async_read, async_write, position, pos_read, pos_write - ]. +all() -> + [open_close_file, open_close_dir, read_file, read_dir, + write_file, rename_file, mk_rm_dir, remove_file, links, + retrieve_attributes, set_attributes, async_read, + async_write, position, pos_read, pos_write]. + +groups() -> + []. + +init_per_group(_GroupName, Config) -> + Config. + +end_per_group(_GroupName, Config) -> + Config. + %% Test cases starts here. %%-------------------------------------------------------------------- |