[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Test failure on FreeBSD (permissible errno values)
From: |
Ed Maste |
Subject: |
Test failure on FreeBSD (permissible errno values) |
Date: |
Wed, 12 Sep 2012 13:38:58 +0000 |
User-agent: |
Mutt/1.4.2.3i |
I have four test failures when running the gnulib test suite (at 6418d7c961)
on FreeBSD, some of which are clear FreeBSD bugs. My test host is FreeBSD
9.1-PRERELEASE (r240164M).
One that isn't clear to me is:
test-canonicalize-lgpl.c:98: assertion failed
Abort trap (core dumped)
FAIL: test-canonicalize-lgpl
92 /* Check that a missing directory yields NULL. */
93 {
94 char *result;
95 errno = 0;
96 result = canonicalize_file_name (BASE "/zzz/..");
97 ASSERT (result == NULL);
98 ASSERT (errno == ENOENT);
99 }
(gdb) p errno
$1 = 20 // ENOTDIR
Should ENOTDIR be a permissible errno for this test?
The other three failing tests are:
test-localename.c:183: assertion failed
Abort trap (core dumped)
FAIL: test-localename
Unconnected socket test... passed
Connected sockets test... failed (expecting POLLHUP after shutdown)
General socket test with fork... failed (expecting POLLHUP after shutdown)
Pipe test... passed
FAIL: test-poll
test-ptsname.c:74: assertion failed
Abort trap (core dumped)
FAIL: test-ptsname
-Ed
- Test failure on FreeBSD (permissible errno values),
Ed Maste <=
Re: Test failure on FreeBSD (permissible errno values), Jim Meyering, 2012/09/12