Bug#758718: perl-5.20 testsuite: Skip selected tests on GNU/Hurd

Svante Signell svante.signell at gmail.com
Wed Aug 20 14:11:41 UTC 2014


Source: perl
Version: 5.20.0-4
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd

Hello,

The latest sid release of perl 5.20-4, FTBFS on GNU/Hurd due to a few
testsuite failures. With the (upcoming) release of glibc 2.19-10 one
test failure goes away: re/regexp_qr_embed_thr.t.

Three remains:
t/op/lfs.t
ext/Fcntl/t/syslfs.t
t/io/socket.t

The first two are related to Large File Support which is not supported
on Hurd (gets skipped when built on a buildd not manually?).

The third failed test is one of 13 socket sub-tests:
not ok 11 - peer from recv() should be empty or the remote name

According to Samuel Thibault this test is questionable and should be
discussed with upstream:
"The test seems fishy to me: it is making sure that the name as returned
by recv is *exactly* the same as what the server socket is bound to,
which is 0.0.0.0:some_port but I would expect recv to return the actual
IP address used in the socket, not 0.0.0.0.  It happens that Linux
doesn't return anything at all so it goes fine there, but that's not a
reason. The test should most probably be discussed with upstream."

Anyway, attached are three patches to disable these tests for Hurd:
hurd_skip_test_lfs.diff
hurd_skip_test_syslfs.diff
hurd_test_skip_socket.diff

Bug number(s) are not filled in the print statements.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hurd_test_skip_lfs.diff
Type: text/x-patch
Size: 697 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20140820/12686c33/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hurd_test_skip_syslfs.diff
Type: text/x-patch
Size: 331 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20140820/12686c33/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hurd_test_skip_socket.diff
Type: text/x-patch
Size: 354 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20140820/12686c33/attachment-0002.bin>


More information about the Perl-maintainers mailing list