diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2007-07-02 13:19:43 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2007-07-02 13:19:43 +0000 |
commit | b803324c16756b9c541546d1fc2e717a13aacd9b (patch) | |
tree | 4cfd8f14a3c632ed498c1b8b826530f34ef89a85 /t | |
parent | ec9e8db0b202e0914fc73f4095dd4240c302c15b (diff) | |
download | perl-MDV-Distribconf-b803324c16756b9c541546d1fc2e717a13aacd9b.tar perl-MDV-Distribconf-b803324c16756b9c541546d1fc2e717a13aacd9b.tar.gz perl-MDV-Distribconf-b803324c16756b9c541546d1fc2e717a13aacd9b.tar.bz2 perl-MDV-Distribconf-b803324c16756b9c541546d1fc2e717a13aacd9b.tar.xz perl-MDV-Distribconf-b803324c16756b9c541546d1fc2e717a13aacd9b.zip |
- add platform value
Diffstat (limited to 't')
-rw-r--r-- | t/01distribconf.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/01distribconf.t b/t/01distribconf.t index b494c6d..b411bea 100644 --- a/t/01distribconf.t +++ b/t/01distribconf.t @@ -12,7 +12,7 @@ my %testdpath = ( 'http://server/path/' => 'testdata/test/media/media_info/media.cfg', ); -plan tests => 14 + 21 * scalar(keys %testdpath); +plan tests => 14 + 22 * scalar(keys %testdpath); use_ok('MDV::Distribconf'); @@ -45,6 +45,7 @@ foreach my $path (keys %testdpath) { is($dconf->getvalue('main', 'version'), '2006.0', "Can get global value via media"); is($dconf->getvalue('main', 'name'), 'main', "Can get default name"); is($dconf->getvalue('contrib', 'name'), 'Contrib', "Can get media name"); + is($dconf->getvalue('contrib', 'platform'), 'i586-mandriva-linux-gnu', "Can get media platform"); is($dconf->getpath(undef, 'root'), $path, "Can get root path"); like($dconf->getpath(undef, 'media_info'), qr!^/*media/media_info/?$!, "Can get media_info path"); # vim color: */ |