~ubuntu-branches/ubuntu/trusty/libconfig-model-openssh-perl/trusty

« back to all changes in this revision

Viewing changes to t/model_tests.d/system-ssh-test-conf.pl

  • Committer: Package Import Robot
  • Author(s): gregor herrmann
  • Date: 2013-08-31 15:19:58 UTC
  • mfrom: (1.1.20)
  • Revision ID: package-import@ubuntu.com-20130831151958-w3h9xru08hrobpqd
Tags: 1.230-1
* New upstream release 1.228.
* Update (build) dependencies.
* Update years of packaging copyright and license stanza.
* Drop patch, applied upstream.
* Add debian/NEWS with interesting interface changes.
* Build depend on Config::Model::Tester. (Closes: #720788)
* Add patch test-failure.patch. Fix test failure caused by undefined
  variable.
* Add patch to fix a spelling mistake.

* New upstream release 1.230.
* Update (build) dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# This file is part of Config-Model-OpenSsh
 
3
#
 
4
# This software is Copyright (c) 2013 by Dominique Dumont.
 
5
#
 
6
# This is free software, licensed under:
 
7
#
 
8
#   The GNU Lesser General Public License, Version 2.1, February 1999
 
9
#
 
10
use strict;
 
11
 
 
12
use Config::Model::BackendMgr;
 
13
 
 
14
# test loading layered config à la ssh_config
 
15
 
 
16
$model_to_test = "SystemSsh";
 
17
 
 
18
@tests = (
 
19
    {    # t0
 
20
        name  => 'basic',
 
21
        setup => {
 
22
            'system_ssh_config' => {
 
23
                'darwin' => '/etc/ssh_config',
 
24
                'default' => '/etc/ssh/ssh_config',
 
25
            },
 
26
        },
 
27
        check => {
 
28
            'Host:"*" Ciphers' => 'aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc',
 
29
            'Host:"*" IdentityFile:1' => '~/.ssh/id_rsa',
 
30
            #'Host:"foo\.\*,\*\.bar"' => '',
 
31
            # 'LocalForward:0 port' => 20022,
 
32
            # 'LocalForward:0 host' => 10.3.244.4,
 
33
            # 'LocalForward:1 ipv6' => 1,
 
34
            # 'LocalForward:1 port' => 22080,
 
35
            # 'LocalForward:1 host' => '2001:0db8:85a3:0000:0000:8a2e:0370:7334',
 
36
        },
 
37
    }
 
38
);
 
39
 
 
40
1;