diff options
Diffstat (limited to 't')
-rw-r--r-- | t/parse.t | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,7 @@ use strict; use warnings; -use Test::More tests => 40; +use Test::More tests => 41; use MDV::Packdrakeng; use URPM; use URPM::Build; @@ -72,6 +72,7 @@ is($pkg->get_tag(1001), '1.0', 'version'); is($pkg->get_tag(1002), '1mdk', 'release'); is($pkg->queryformat("%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}"), "test-rpm-1.0-1mdk.noarch", q/get headers from hdlist/); +ok($pkg->is_platform_compat() > 0, "can evaluate platform score"); my $headers = eval { [ $b->parse_rpms_build_headers(rpms => [ "RPMS/noarch/test-rpm-1.0-1mdk.noarch.rpm" ], dir => 'headers') ] }; |