aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2011-01-24 02:22:16 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2011-01-24 02:22:16 +0000
commit111a634a0fa55ceccbe93944411a1143ca0c35b8 (patch)
tree223536ead7961fe191cb9787718935b7e7685484 /t
parent007b18555518e1ef3e63f9876ad1fcd2768937b2 (diff)
downloadperl-URPM-111a634a0fa55ceccbe93944411a1143ca0c35b8.tar
perl-URPM-111a634a0fa55ceccbe93944411a1143ca0c35b8.tar.gz
perl-URPM-111a634a0fa55ceccbe93944411a1143ca0c35b8.tar.bz2
perl-URPM-111a634a0fa55ceccbe93944411a1143ca0c35b8.tar.xz
perl-URPM-111a634a0fa55ceccbe93944411a1143ca0c35b8.zip
fix inverted logic..
Diffstat (limited to 't')
-rw-r--r--t/rpmdb.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/rpmdb.t b/t/rpmdb.t
index 10b3b2a..5cdcae3 100644
--- a/t/rpmdb.t
+++ b/t/rpmdb.t
@@ -162,7 +162,7 @@ $db->traverse( sub {
$errors++;
}
- if ($pkg->name eq "gpg-pubkey") {
+ if ($pkg->name ne "gpg-pubkey") {
my $expectedevr = $pkg->version . "-" . $pkg->release . ($pkg->distepoch ? ":" . $pkg->distepoch : "");
if ($expectedevr ne $pkg->evr and "$epoch:$expectedevr" ne $pkg->evr) {