diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-01-16 14:15:31 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-09 17:50:35 +0200 |
commit | 2b9a098752bdf9b5a8a33b852c26f4b78bd077c5 (patch) | |
tree | da21b27b9b33268fc705f20ca2c495675b919b69 | |
parent | 0cf5e36802d5a0e7740d3350637f058b25f42899 (diff) | |
download | urpmi-2b9a098752bdf9b5a8a33b852c26f4b78bd077c5.tar urpmi-2b9a098752bdf9b5a8a33b852c26f4b78bd077c5.tar.gz urpmi-2b9a098752bdf9b5a8a33b852c26f4b78bd077c5.tar.bz2 urpmi-2b9a098752bdf9b5a8a33b852c26f4b78bd077c5.tar.xz urpmi-2b9a098752bdf9b5a8a33b852c26f4b78bd077c5.zip |
cpan_testers: set PATH
rationale: CPAN testers installs genhdlist2 using cpan but do not have
/usr/local/bin in their PATH
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | t/02create_pkgs.t | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -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)) { |