diff options
Diffstat (limited to 'RPM4/t')
-rw-r--r-- | RPM4/t/05transaction.t | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/RPM4/t/05transaction.t b/RPM4/t/05transaction.t index b6c07c1..16da607 100644 --- a/RPM4/t/05transaction.t +++ b/RPM4/t/05transaction.t @@ -12,7 +12,7 @@ use RPM4::Transaction::Problems; if (-e '/etc/debian_version' || `uname -a` =~ /BSD/i) { plan skip_all => "*BSD/Debian/Ubuntu do not have a system wide rpmdb"; } else { - plan tests => 45; + plan tests => 49; } # Test on wrong db @@ -42,11 +42,10 @@ ok($ts->transadd($hd, "$Bin/test-dep-1.0-1mdk.noarch.rpm") == 0, "Adding a packa ok($ts->transcheck == 0, "Checking transaction works"); ok($ts->transorder == 0, "Run transaction order"); -if (0) { my $pbs = RPM4::Transaction::Problems->new($ts); isa_ok( $pbs, - 'RPM4::Db::Problems', + 'RPM4::Transaction::Problems', 'Can retrieve pb from transaction' ); @@ -58,7 +57,6 @@ while ($pbs->hasnext) { $strpb .= $pbs->problem; } ok($strpb, "Can get problem description"); -} ok(defined($ts->transflag([qw(TEST)])), "Set transflags"); #ok($ts->transrun([ qw(LABEL PERCENT) ]) == 0, "Running test transaction"); |