Bug#537711: test suite hangs forever if run on system without localhost

Joey Hess joeyh at debian.org
Mon Jul 20 11:18:32 UTC 2009


Package: libio-all-perl
Severity: minor

If the build system is missing localhost in /etc/hosts,
the test suite does this, and hangs forever at the end:

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/absolute...........ok
t/accept.............
#   Failed test 'Checking for validity of sock No. 1'
#   at t/accept.t line 67.

FWIW, it's not unheard of for /etc/hosts to be empty.
This happens, for example, if you naively run debootstrap
and don't configure the chroot at all. The test suite could just detect
this and skip the tests..

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20090720/2cc78a3b/attachment-0001.pgp>


More information about the pkg-perl-maintainers mailing list