summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-01-16 14:15:31 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-09 17:50:35 +0200
commit2b9a098752bdf9b5a8a33b852c26f4b78bd077c5 (patch)
treeda21b27b9b33268fc705f20ca2c495675b919b69 /t
parent0cf5e36802d5a0e7740d3350637f058b25f42899 (diff)
downloadurpmi-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
Diffstat (limited to 't')
-rw-r--r--t/02create_pkgs.t3
1 files changed, 3 insertions, 0 deletions
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)) {