summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--RPM4/NEWS1
-rw-r--r--RPM4/t/05transaction.t6
2 files changed, 3 insertions, 4 deletions
diff --git a/RPM4/NEWS b/RPM4/NEWS
index 5236b7c..b1b11dc 100644
--- a/RPM4/NEWS
+++ b/RPM4/NEWS
@@ -1,5 +1,6 @@
- Testsuite:
o Fix failure with rpm-4.17.0+
+ o Re-enable some tests disabled long ago
Version 0.44 - 14 December 2020
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");