On Mon, Oct 15, 2012 at 6:59 AM, David Cantrell <da...@cantrell.org.uk>wrote:
> However, I'm a bit lairy of "tests should not contact remote systems at > all". > For what it's worth, Debian packagers prefer to have an environment variable (i.e. TEST_INTERNET, HAS_INTERNET) be set before running any tests that explicitly require a remote connection. This is because Debian's build servers don't have Internet access; potentially some of the CPAN Testers servers fall under the same category. I would therefore suggest either disabling those tests unless TEST_INTERNET/HAS_INTERNET is set, or using a shipped copy of that file for tests and only updating the file if TEST_INTERNET/HAS_INTERNET is set. This also gives developers working on the package to run the full battery of tests (including those requiring Internet access) while also not requiring build servers to have connectivity.