aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_sftpd_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-12-15 15:45:55 +0100
committerNiclas Eklund <[email protected]>2011-05-19 14:38:12 +0200
commitca09b09dff13a70ff07c835c2ae951f3d7a2ac07 (patch)
tree3999c61f9a461829b101e4476ad48714eaea2008 /lib/ssh/test/ssh_sftpd_SUITE.erl
parentd6e981e751b4565773204d7eb394ca445d63e771 (diff)
downloadotp-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_sftpd_SUITE.erl')
-rw-r--r--lib/ssh/test/ssh_sftpd_SUITE.erl22
1 files changed, 15 insertions, 7 deletions
diff --git a/lib/ssh/test/ssh_sftpd_SUITE.erl b/lib/ssh/test/ssh_sftpd_SUITE.erl
index 4ce6bd45b3..263eeefe66 100644
--- a/lib/ssh/test/ssh_sftpd_SUITE.erl
+++ b/lib/ssh/test/ssh_sftpd_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("ssh_xfer.hrl").
-include("ssh.hrl").
@@ -143,13 +143,21 @@ 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 the sftp server"];
+all() ->
+ [open_close_file, open_close_dir, read_file, read_dir,
+ write_file, rename_file, mk_rm_dir, remove_file,
+ real_path, retrieve_attributes, set_attributes, links,
+ ver3_rename_OTP_6352, seq10670, sshd_read_file].
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
-all(suite) ->
- [open_close_file, open_close_dir, read_file, read_dir, write_file,
- rename_file, mk_rm_dir, remove_file, real_path, retrieve_attributes,
- set_attributes, links, ver3_rename_OTP_6352, seq10670, sshd_read_file].
%% Test cases starts here.
%%--------------------------------------------------------------------