~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to lib/inets/test/ftp_solaris10_sparc_test.erl

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%%
2
2
%% %CopyrightBegin%
3
3
%% 
4
 
%% Copyright Ericsson AB 2005-2009. All Rights Reserved.
 
4
%% Copyright Ericsson AB 2005-2010. All Rights Reserved.
5
5
%% 
6
6
%% The contents of this file are subject to the Erlang Public License,
7
7
%% Version 1.1, (the "License"); you may not use this file except in
22
22
 
23
23
-compile(export_all).
24
24
 
25
 
-include("test_server.hrl").
 
25
-include_lib("common_test/include/ct.hrl").
26
26
 
27
27
-define(LIB_MOD,ftp_suite_lib).
28
28
-define(CASE_WRAPPER(_A_,_B_,_C_),?LIB_MOD:wrapper(_A_,_B_,_C_)).
87
87
%%   Name of a test case.
88
88
%% Description: Returns a list of all test cases in this test suite
89
89
%%--------------------------------------------------------------------
90
 
all(doc) -> 
91
 
    ["Test ftp client"];
92
 
 
93
 
all(suite) -> 
94
 
    [open, open_port, passive, active, api_missuse,
95
 
     not_owner, progress_report].
 
90
all() -> 
 
91
    [open, open_port, {group, passive}, {group, active},
 
92
     api_missuse, not_owner, {group, progress_report}].
 
93
 
 
94
groups() -> 
 
95
    [{passive, [], ftp_suite_lib:passive(suite)},
 
96
     {active, [], ftp_suite_lib:active(suite)},
 
97
     {progress_report, [],
 
98
      ftp_suite_lib:progress_report(suite)}].
 
99
 
 
100
init_per_group(_GroupName, Config) ->
 
101
    Config.
 
102
 
 
103
end_per_group(_GroupName, Config) ->
 
104
    Config.
 
105
 
96
106
 
97
107
%% Test cases starts here.
98
108
%%--------------------------------------------------------------------
99
109
 
100
110
open(X) -> ?CASE_WRAPPER(?PLATFORM,X,fun ?LIB_MOD:open/1).
101
111
open_port(X) -> ?CASE_WRAPPER(?PLATFORM,X,fun ?LIB_MOD:open_port/1).
102
 
passive(X) -> ?CASE_WRAPPER(?PLATFORM,X,fun ?LIB_MOD:passive/1).
103
 
active(X) -> ?CASE_WRAPPER(?PLATFORM,X,fun ?LIB_MOD:active/1).
104
112
api_missuse(X) -> ?CASE_WRAPPER(?PLATFORM,X,fun ?LIB_MOD:api_missuse/1).
105
113
not_owner(X) -> ?CASE_WRAPPER(?PLATFORM,X,fun ?LIB_MOD:not_owner/1).
106
 
progress_report(X) -> ?CASE_WRAPPER(?PLATFORM,X,fun ?LIB_MOD:progress_report/1).
107
114
 
108
115
passive_user(X) -> ?LIB_MOD:passive_user(X).
109
116
passive_pwd(X) -> ?LIB_MOD:passive_pwd(X).