diff options
author | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2016-10-26 16:11:03 +0000 |
---|---|---|
committer | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2016-10-26 16:11:03 +0000 |
commit | 9a9f859245f6bf362d1672f406219d4b10f6f3d8 (patch) | |
tree | 2524e1594da649bf8596a34e86ff3870de561792 | |
parent | 975ef277dbfe4df8508ed0ef87f6e82c2311cadd (diff) | |
download | perl-RPM4-9a9f859245f6bf362d1672f406219d4b10f6f3d8.tar perl-RPM4-9a9f859245f6bf362d1672f406219d4b10f6f3d8.tar.gz perl-RPM4-9a9f859245f6bf362d1672f406219d4b10f6f3d8.tar.bz2 perl-RPM4-9a9f859245f6bf362d1672f406219d4b10f6f3d8.tar.xz perl-RPM4-9a9f859245f6bf362d1672f406219d4b10f6f3d8.zip |
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
-rw-r--r-- | RPM4/t/05transaction.t | 6 |
1 files 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 |