diff options
-rw-r--r-- | RPM4/t/05transaction.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/RPM4/t/05transaction.t b/RPM4/t/05transaction.t index 18c8c17..1a319b3 100644 --- a/RPM4/t/05transaction.t +++ b/RPM4/t/05transaction.t @@ -108,6 +108,10 @@ 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"); +SKIP: { +# rpmal.c:293: rpmalAdd: Assertion `dspool == ((void *)0) || dspool == al->pool' failed. +# on at least mga[3-7], aka with rpm-4.1[14], status is unknown for 4.10 & 4.15 +skip 'assertion failure on older rpm', 1 if `rpm --version` =~ /4\.1[0-5]\./; ok($ts->transrun(\&callback) == 0, "Running transaction justdb"); process_problems(); @@ -123,6 +127,7 @@ ok($ts->traverse(sub { }), "Running traverse"); 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"); |