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 

Reply via email to