From 9a9f859245f6bf362d1672f406219d4b10f6f3d8 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 26 Oct 2016 16:11:03 +0000 Subject: fix & reenable a test since injecting a header is not supported anymore git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@263 971eb68f-4bfb-0310-8326-d2484c010a4c --- RPM4/t/05transaction.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RPM4/t/05transaction.t b/RPM4/t/05transaction.t index 15b214e..dfee605 100644 --- a/RPM4/t/05transaction.t +++ b/RPM4/t/05transaction.t @@ -2,7 +2,7 @@ # $Id$ use strict; -use Test::More tests => 42; +use Test::More tests => 43; use FindBin qw($Bin); use File::Path; use File::Temp qw(tempdir); @@ -77,14 +77,14 @@ my $found = 0; my $roffset; ok($ts->traverse(sub { my ($hf, $offset) = @_; - scalar($hf->fullname) eq "test-dep-1.0-1mdk.noarch" and do { + scalar($hf->fullname) eq "test-rpm-1.0-1mdk.noarch" and do { $found++; (undef, $roffset) = ($hf, $offset); }; 1; }), "Running traverse"); -#ok($found, "Can find header in db"); +ok($found, "Can find header in db"); $ts = undef; # explicitely calling DESTROY to close database -- cgit v1.2.1