From f6d333affb60e5364bf30355869fd359da2317e8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 27 Apr 2022 01:33:35 +0200 Subject: Prepare for rpm-4.19: switch away from rpmteFI() Test Te->files btw (which shows it was segfaulting before...) --- RPM4/t/05transaction.t | 1 + 1 file changed, 1 insertion(+) (limited to 'RPM4/t/05transaction.t') diff --git a/RPM4/t/05transaction.t b/RPM4/t/05transaction.t index 2a27ae8..18c8c17 100644 --- a/RPM4/t/05transaction.t +++ b/RPM4/t/05transaction.t @@ -56,6 +56,7 @@ ok($h, "Reading the header works"); ok($ts->transadd($h, "$Bin/test-rpm-1.0-1mdk.noarch.rpm") == 0, "Adding a package to transaction works"); ok($ts->traverse_transaction(sub { ok($_[0]->fullname, "Can get name from te"); + ok($_[0]->files, "Can get files from te"); ok($_[0]->type, "Can get type from te"); }), "traverse_transaction works"); -- cgit v1.2.1