develooper Front page | perl.perl5.porters | Postings from November 2010

ext/POSIX/t/sysconf.t failure on FreeBSD 8.1 with ZFS

Thread Next
From:
Tom Hukins
Date:
November 5, 2010 09:51
Subject:
ext/POSIX/t/sysconf.t failure on FreeBSD 8.1 with ZFS
Message ID:
20101105165046.GW1249@eborcom.com
I have a FreeBSD 8.1 jailed host that uses the ZFS filesystem.  All
tests for perl (I've tried both blead and 5.12.2) pass apart from
ext/POSIX/t/sysconf.t.

Only one test fails:
ok 25 - calling pathconf("/tmp", _PC_NO_TRUNC)
not ok 26 -     checking that the returned value is defined (it isn't)
or that errno is clear (it isn't, it's Invalid argument)
#   Failed test '       checking that the returned value is defined
#   (it isn't) or that errno is clear (it isn't, it's Invalid argument)'
#   at t/sysconf.t line 63.

I'm not filing this as a bug report yet because I don't know if I see
this failure because of a failure in the assumptions perl's test suite
makes or a quirk of the jailed host.  I thought I should mention this
here in case anyone else has seen something similar.

I have built various versions of perl on standard FreeBSD 8.1
installations without incident.  However, I note that the jailed host
runs using one filesystem on / as ZFS whereas I usually use UFS2.

I wonder if using /tmp under ZFS causes this test failure.  I also
wonder if anyone can suggest anything I should try to investigate this
problem further, possibly leading to a bug report.

Thanks,
Tom

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About