diff options
author | rjray <devnull@localhost> | 2000-08-06 08:57:09 +0000 |
---|---|---|
committer | rjray <devnull@localhost> | 2000-08-06 08:57:09 +0000 |
commit | 6d00e4754013dfcae066a729b8843ec970119c11 (patch) | |
tree | c8c9b7518990c9cb9c882e0eee8fd190e8bd9351 | |
parent | 965e6616c39ec56b2d0401db060edcd4ef145747 (diff) | |
download | librpm-tizen-6d00e4754013dfcae066a729b8843ec970119c11.tar.gz librpm-tizen-6d00e4754013dfcae066a729b8843ec970119c11.tar.bz2 librpm-tizen-6d00e4754013dfcae066a729b8843ec970119c11.zip |
Changed some tests to fit new RPM::Header behavior.
CVS patchset: 4017
CVS date: 2000/08/06 08:57:09
-rwxr-xr-x | Perl-RPM/t/01_database.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Perl-RPM/t/01_database.t b/Perl-RPM/t/01_database.t index c55aab6c3..08e1f8f54 100755 --- a/Perl-RPM/t/01_database.t +++ b/Perl-RPM/t/01_database.t @@ -56,12 +56,12 @@ print "ok 7\n"; print "not " unless (@matches == 1); print "ok 8\n"; -print "not " unless ($matches[0]->{name}->[0] eq 'rpm'); +print "not " unless ($matches[0]->{name} eq 'rpm'); print "ok 9\n"; # There may be more than one package that depends on rpm @matches = $rpm->find_by_required_by('rpm'); -for (@matches) { $_ = $_->{name}->[0] } +for (@matches) { $_ = $_->{name} } # As long as we see this one (it has to be present to build this package) print "not " unless (grep 'rpm-devel', @matches); print "ok 10\n"; |