aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2010-10-13 22:08:15 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2010-10-13 22:08:15 +0000
commitbfe8467ec64eed7e418f0ff4813726af5ec49b6f (patch)
treed5802b824b86421696c5ee473c2b9a726f894a4e /t
parent58122d1ab5f19b9a92ae5828033c20bf71972c23 (diff)
downloadperl-URPM-bfe8467ec64eed7e418f0ff4813726af5ec49b6f.tar
perl-URPM-bfe8467ec64eed7e418f0ff4813726af5ec49b6f.tar.gz
perl-URPM-bfe8467ec64eed7e418f0ff4813726af5ec49b6f.tar.bz2
perl-URPM-bfe8467ec64eed7e418f0ff4813726af5ec49b6f.tar.xz
perl-URPM-bfe8467ec64eed7e418f0ff4813726af5ec49b6f.zip
always check is_platform_compat()
Diffstat (limited to 't')
-rw-r--r--t/parse.t9
1 files changed, 1 insertions, 8 deletions
diff --git a/t/parse.t b/t/parse.t
index 469a4d6..376916c 100644
--- a/t/parse.t
+++ b/t/parse.t
@@ -65,9 +65,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/);
-rpm_is_jbj_version() ?
- ok($pkg->is_platform_compat() > 0, "can evaluate platform score") :
- pass('no platform compat');
+ok($pkg->is_platform_compat() > 0, "can evaluate platform score");
my $headers = eval { [ $b->parse_rpms_build_headers(rpms => [ "tmp/RPMS/noarch/test-rpm-1.0-1mdk.noarch.rpm" ],
dir => 'headers') ] };
@@ -112,8 +110,3 @@ ok(URPM::rpmEVRcompare("1:1-1mdk", "2:1-1mdk") == -1, "epoch 1 vs 2 = -1");
ok(!defined $pkg, "bad spec");
END { unlink "bad.spec" }
}
-
-sub rpm_is_jbj_version {
- # checking for --yaml support
- `rpm --help` =~ /yaml/;
-}