Bug#958548: libtest-requiresinternet-perl: autopkgtest requires direct internet connection

Niko Tyni ntyni at debian.org
Thu Apr 23 19:47:56 BST 2020


On Thu, Apr 23, 2020 at 06:06:53PM +0200, gregor herrmann wrote:

> (and also in debian/rules) but the failing test is use.t, which
> respects NO_NETWORK_TESTING but we have no way to set it in our
> framework. (And the module tries to connect to www.google.com at port
> 80 without further parameters.)
> 
> I have no other idea than to skip use.t …

It catches the error and exits with success when timing out. I guess

 echo Skipped > debian/tests/pkg-perl/use-whitelist

might work (but didn't test).

Not sure how much point there is to the test after that though...
-- 
Niko



More information about the pkg-perl-maintainers mailing list