diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2007-06-19 14:44:21 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2007-06-19 14:44:21 +0000 |
commit | 92e441cb3795aa5b8555f999911017817a6d2277 (patch) | |
tree | f29b0b811a1c34dffad7cc1c02ad9aa70b057d2d /t/parse.t | |
parent | d56ee13624590129c49ed2424c1ee2814837e560 (diff) | |
download | perl-URPM-92e441cb3795aa5b8555f999911017817a6d2277.tar perl-URPM-92e441cb3795aa5b8555f999911017817a6d2277.tar.gz perl-URPM-92e441cb3795aa5b8555f999911017817a6d2277.tar.bz2 perl-URPM-92e441cb3795aa5b8555f999911017817a6d2277.tar.xz perl-URPM-92e441cb3795aa5b8555f999911017817a6d2277.zip |
- make is_arch_compat rpm 4.4.8 compliant
Diffstat (limited to 't/parse.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 => 39; +use Test::More tests => 40; use MDV::Packdrakeng; use URPM; use URPM::Build; @@ -99,6 +99,7 @@ ok(URPM::rpmvercmp("1:1-1mdk", "2:1-1mdk") == -1, "epoch 1 vs 2 = -1"); is($pkg->get_tag(1001), '1.0'); is($pkg->get_tag(1002), '1mdk'); is($pkg->queryformat("%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}"), "test-rpm-1.0-1mdk.noarch"); + ok($pkg->is_arch_compat(), "Arch compat works"); close $hdfh; } |