summaryrefslogtreecommitdiffabout
path: root/t/conf11.t
blob: 07a94cf3b44e62fbd6b91f60887154492bfc3d2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- perl -*-
use lib qw(t lib);
use strict;
use Test;
use TestConfig;

plan(tests => 3);

my $cfg = new TestConfig(
    config => [
	'core.retain-interval' => 10,
	'core.tempdir' => '/tmp'
    ]
    );
ok(join(',', sort $cfg->getnode('core')->keys), 'retain-interval,tempdir');
ok($cfg->getnode('core')->keys, 2);
ok(join(',', sort $cfg->names_of('core')), 'retain-interval,tempdir');

Return to:

Send suggestions and report system problems to the System administrator.