This is an automated email from the git hooks/post-receive script. ntyni pushed a commit to branch master in repository libextutils-autoinstall-perl.
commit dfc56fe036023806db11ab578ce96fa1e07e05ab Author: Niko Tyni <nt...@debian.org> Date: Sat Nov 28 20:36:52 2015 +0200 Adjust autopkgtest setup to prevent a busy loop in CPAN configuration This mirrors the debian/rules arrangements for #752930. Closes: #806142 --- debian/tests/pkg-perl/smoke-env | 1 + debian/tests/pkg-perl/smoke-setup | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/debian/tests/pkg-perl/smoke-env b/debian/tests/pkg-perl/smoke-env new file mode 100644 index 0000000..517408e --- /dev/null +++ b/debian/tests/pkg-perl/smoke-env @@ -0,0 +1 @@ +HOME=$ADTTMP/build diff --git a/debian/tests/pkg-perl/smoke-setup b/debian/tests/pkg-perl/smoke-setup new file mode 100755 index 0000000..97b9518 --- /dev/null +++ b/debian/tests/pkg-perl/smoke-setup @@ -0,0 +1,15 @@ +#!/bin/sh + +mkdir -p $HOME + +# workaround for #752930 +# 0) create ~/.cpan/CPAN/MyConfig.pm ourselves before EU::AutoInstall +# tries to do it and fails horribly in a loop in the install_help +# question +# 1) "preseed" exactly this install_help question, otherwise the default +# 'local::lib' is chosen and CPAN.pm goes out hunting +# 2) "preseed" urllist as well, otherwise CPAN.pm from 5.18 asks for it +# and tries to download a mirror list. in 5.20 it contains +# www.cpan.org already. +perl -MCPAN -e '$CPAN::Config = {"install_help" => q[manual], "urllist" => [q[http://www.cpan.org/]]}; CPAN::Shell->mkmyconfig' </dev/null + -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libextutils-autoinstall-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits