summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-01-07 14:19:31 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-01-08 15:48:58 +0100
commit2d7485c5c783f330f820dd62bd53c44c5cf42a5e (patch)
treeac7ae85482a0d4c22d55afe3039a0b72e2703e8c /t
parent39ca63c4b4c3fc3fc6b92cdb79dc92dce155adc8 (diff)
downloadurpmi-2d7485c5c783f330f820dd62bd53c44c5cf42a5e.tar
urpmi-2d7485c5c783f330f820dd62bd53c44c5cf42a5e.tar.gz
urpmi-2d7485c5c783f330f820dd62bd53c44c5cf42a5e.tar.bz2
urpmi-2d7485c5c783f330f820dd62bd53c44c5cf42a5e.tar.xz
urpmi-2d7485c5c783f330f820dd62bd53c44c5cf42a5e.zip
fix "Undefined subroutine &urpm::select::_rpm_version"
Undefined subroutine &urpm::select::_rpm_version called at t/superuser--media_info_dir.t line 55. which wents undetected by the testsuite for quite some time... sigh... bug introduced in commit 60b5009cc4679d4b55fb0490d4d273b5cc6f220c
Diffstat (limited to 't')
-rw-r--r--t/superuser--media_info_dir.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/superuser--media_info_dir.t b/t/superuser--media_info_dir.t
index e9f58f79..dee55001 100644
--- a/t/superuser--media_info_dir.t
+++ b/t/superuser--media_info_dir.t
@@ -52,6 +52,7 @@ sub urpmi_force_skip_unknown {
sub rpm_v3 {
my @names = qw(libtermcap nls p2c);
+ require urpm::select;
my $noverify_opt = urpm::select::_rpm_version() ge 4.14.2 ? '--noverify' : '';
system_("rpm $noverify_opt --root $::pwd/root -i --ignorearch --noscripts media/rpm-v3/*.i386.rpm");
check_installed_names(@names);