summaryrefslogtreecommitdiff
path: root/t/01conf09.t
blob: cbe55363d576f748d52dcfdaa916865ac917fa4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- perl -*-
use lib qw(t lib);
use strict;
use Test;
use TestConfig;

plan(tests => 2);

my %keywords = (
    core => {
	section => {
	    backend => { mandatory => 1, default => "file" },
	    acl => 1
	}
    },
    file => {
	section => {
	    name => 1
	}
    }
);

my $cfg = new TestConfig(parameters => \%keywords);
ok($cfg);
ok($cfg->canonical, q{core.backend="file"});


Return to:

Send suggestions and report system problems to the System administrator.