From 2b9a098752bdf9b5a8a33b852c26f4b78bd077c5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 16 Jan 2020 14:15:31 +0100 Subject: cpan_testers: set PATH rationale: CPAN testers installs genhdlist2 using cpan but do not have /usr/local/bin in their PATH --- NEWS | 1 + t/02create_pkgs.t | 3 +++ 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 6b9f727d..3b67f123 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,7 @@ o actually needs perl >= 5.10 for //= operator o fix failing scriptlets test with rpm < 4.13.0 o fix testsuite errors on CentOs (NVR vs NVRA) + o include /usr/local/bin in PATH o require a newer enough Test::More & rpmtools o skip mirrorlist tests on !Mageia o skip tests if we have no supported downloader diff --git a/t/02create_pkgs.t b/t/02create_pkgs.t index 7b1bcc5e..d9729e64 100644 --- a/t/02create_pkgs.t +++ b/t/02create_pkgs.t @@ -6,6 +6,9 @@ use helper; use Test::More 'no_plan'; use Cwd; +# help CPAN testers who installed genhdlist2 using cpan but do not have /usr/local/bin in their PATH: +$ENV{PATH} .= ":/usr/local/bin"; + chdir 't' if -d 't'; system('rm -rf tmp media'); foreach (qw(media tmp tmp/BUILD tmp/RPMS tmp/RPMS/noarch tmp/SRPMS)) { -- cgit v1.2.1