From e2c45e167796ffb6d6d5c21e0fadfec82d2d4ebf Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 26 Apr 2022 22:16:34 +0200 Subject: Reenable the removing transaction --- RPM4/t/05transaction.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/RPM4/t/05transaction.t b/RPM4/t/05transaction.t index 289f0f9..2a27ae8 100644 --- a/RPM4/t/05transaction.t +++ b/RPM4/t/05transaction.t @@ -107,7 +107,8 @@ ok($ts->transremove($roffset), "Removing pkg from header and offset"); ok($ts->transorder == 0, "Run transaction order"); ok($ts->transcheck == 0, "Checking transaction works"); ok(defined($ts->transflag([qw(JUSTDB)])), "Set transflags"); -#ok($ts->transrun([ qw(LABEL PERCENT) ]) == 0, "Running transaction justdb"); +ok($ts->transrun(\&callback) == 0, "Running transaction justdb"); +process_problems(); $found = 0; @@ -120,7 +121,7 @@ ok($ts->traverse(sub { 1; }), "Running traverse"); -#ok($found == 0, "The previously removed rpm is not found"); +ok($found == 0, "The previously removed rpm is not found"); ok($ts->transadd($h, "test-rpm-1.0-1mdk.noarch.rpm", 1, "/usr", 1) == 0, "Adding a package to transaction with prefix"); ok($ts->transorder == 0, "Run transaction order"); -- cgit v1.2.1