aboutsummaryrefslogtreecommitdiffstats
path: root/t/rpmdb.t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-04-29 05:43:26 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-29 05:45:28 +0200
commit7ce28b949d10e78a4c1f2d419b9b313958da7df4 (patch)
tree11b20c84879b982e6dea4dbdcadb44de581e02fc /t/rpmdb.t
parent16847da9832a80654d23c648d106502505afdc96 (diff)
downloadperl-URPM-7ce28b949d10e78a4c1f2d419b9b313958da7df4.tar
perl-URPM-7ce28b949d10e78a4c1f2d419b9b313958da7df4.tar.gz
perl-URPM-7ce28b949d10e78a4c1f2d419b9b313958da7df4.tar.bz2
perl-URPM-7ce28b949d10e78a4c1f2d419b9b313958da7df4.tar.xz
perl-URPM-7ce28b949d10e78a4c1f2d419b9b313958da7df4.zip
fix testing on pre UsrMove Linuxes (eg: mga2)
Diffstat (limited to 't/rpmdb.t')
-rw-r--r--t/rpmdb.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/rpmdb.t b/t/rpmdb.t
index fd99220..79f823c 100644
--- a/t/rpmdb.t
+++ b/t/rpmdb.t
@@ -19,7 +19,7 @@ my ($pkg_perl, $count_perl, $pkg_perl_extern);
@all_pkgs_extern = sort { $a cmp $b } split /\n/ => qx(rpm -qa --nosignature --qf '%{name}-%{version}-%{release}\n');
ok(@all_pkgs_extern > 0, 'There are RPMs');
- my $perl = -e '/etc/redhat-release' || -e '/etc/mageia-release' ? qx(rpm -qf /bin/perl --qf '%{name}') : 'perl';
+ my $perl = -e '/etc/redhat-release' || -e '/etc/mageia-release' ? qx(rpm -qf /usr/bin/perl --qf '%{name}') : 'perl';
$count = $db->traverse(sub {
my ($pkg) = @_;
my ($name, $version, $release, $arch) = $pkg->fullname;