diff options
Diffstat (limited to 'RPM4')
-rw-r--r-- | RPM4/t/05transaction.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/RPM4/t/05transaction.t b/RPM4/t/05transaction.t index 8eb6fdf..44f1ee2 100644 --- a/RPM4/t/05transaction.t +++ b/RPM4/t/05transaction.t @@ -43,7 +43,8 @@ ok($ts->transorder == 0, "Run transaction order"); process_problems(); ok(defined($ts->transflag([qw(TEST)])), "Set transflags"); -#ok($ts->transrun([ qw(LABEL PERCENT) ]) == 0, "Running test transaction"); +ok($ts->transrun(\&callback) == 1, "Running test transaction with pkg obsoleting its deps"); +process_problems(); ok(!defined($ts->transreset), "Resetting transaction"); my $h = RPM4::rpm2header("$Bin/test-rpm-1.0-1mdk.noarch.rpm"); |