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

« back to all changes in this revision

Viewing changes to lib/ssh/test/ssh_SUITE.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
%%
 
2
%% %CopyrightBegin%
 
3
%%
 
4
%% Copyright Ericsson AB 2004-2011. All Rights Reserved.
 
5
%%
 
6
%% The contents of this file are subject to the Erlang Public License,
 
7
%% Version 1.1, (the "License"); you may not use this file except in
 
8
%% compliance with the License. You should have received a copy of the
 
9
%% Erlang Public License along with this software. If not, it can be
 
10
%% retrieved online at http://www.erlang.org/.
 
11
%%
 
12
%% Software distributed under the License is distributed on an "AS IS"
 
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 
14
%% the License for the specific language governing rights and limitations
 
15
%% under the License.
 
16
%%
 
17
%% %CopyrightEnd%
 
18
%%
 
19
 
 
20
%%
 
21
%%%----------------------------------------------------------------
 
22
%%% Purpose:ssh application test suite.
 
23
%%%-----------------------------------------------------------------
 
24
-module(ssh_SUITE).
 
25
-include_lib("common_test/include/ct.hrl").
 
26
-include("test_server_line.hrl").
 
27
 
 
28
% Default timetrap timeout (set in init_per_testcase).
 
29
-define(default_timeout, ?t:minutes(1)).
 
30
-define(application, ssh).
 
31
 
 
32
% Test server specific exports
 
33
-export([all/0,groups/0,init_per_group/2,end_per_group/2]).
 
34
-export([init_per_testcase/2, end_per_testcase/2]).
 
35
 
 
36
% Test cases must be exported.
 
37
-export([app_test/1]).
 
38
-define(cases, [app_test]).
 
39
 
 
40
%%
 
41
%% all/1
 
42
%%
 
43
all() -> 
 
44
    [app_test].
 
45
 
 
46
groups() -> 
 
47
    [].
 
48
 
 
49
init_per_group(_GroupName, Config) ->
 
50
        Config.
 
51
 
 
52
end_per_group(_GroupName, Config) ->
 
53
        Config.
 
54
 
 
55
 
 
56
init_per_testcase(_Case, Config) ->
 
57
    Dog=test_server:timetrap(?default_timeout),
 
58
    [{watchdog, Dog}|Config].
 
59
end_per_testcase(_Case, Config) ->
 
60
    Dog=?config(watchdog, Config),
 
61
    test_server:timetrap_cancel(Dog),
 
62
    ok.
 
63
%
 
64
% Test cases starts here.
 
65
%
 
66
app_test(suite) ->
 
67
    [];
 
68
app_test(doc) ->
 
69
    ["Application consistency test."];
 
70
app_test(Config) when is_list(Config) ->
 
71
    ?t:app_test(?application),
 
72
    ok.