Discussion:
test failures on Haiku
Add Reply
Bruno Haible
2017-10-29 07:41:52 UTC
Reply
Permalink
Raw Message
On a recent Haiku (32-bit system), a POSIX testdir shows 44 failures:


FAIL: test-areadlinkat
======================

../../gltests/test-areadlinkat.c:78: assertion 'errno == EBADF' failed
Abort
FAIL test-areadlinkat (exit status: 134)

FAIL: test-cloexec
==================

../../gltests/test-cloexec.c:102: assertion '!is_inheritable (fd2)' failed
Abort
FAIL test-cloexec (exit status: 134)

FAIL: test-dprintf-posix2.sh
============================

Abort
../../gltests/test-dprintf-posix2.sh: line 16: 119878 Abort ./test-dprintf-posix2${EXEEXT} 1 > /dev/null
FAIL test-dprintf-posix2.sh (exit status: 1)

FAIL: test-dup2
===============

../../gltests/test-dup2.c:192: assertion '!is_inheritable (fd + 1)' failed
Abort
FAIL test-dup2 (exit status: 134)

FAIL: test-expl
===============

__expl not implemented
../../gltests/test-expl.c:48: assertion 'y >= 1.822118800L && y <= 1.822118801L' failed
Abort
FAIL test-expl (exit status: 134)

FAIL: test-faccessat
====================

../../gltests/test-faccessat.c:36: assertion 'errno == EBADF' failed
Abort
FAIL test-faccessat (exit status: 134)

FAIL: test-fchdir
=================

../../gltests/test-fchdir.c:51: assertion 'errno == EBADF' failed
Abort
FAIL test-fchdir (exit status: 134)

FAIL: test-fchmodat
===================

../../gltests/test-fchmodat.c:36: assertion 'errno == EBADF' failed
Abort
FAIL test-fchmodat (exit status: 134)

FAIL: test-fchownat
===================

../../gltests/test-fchownat.c:73: assertion 'errno == EBADF' failed
Abort
FAIL test-fchownat (exit status: 134)

FAIL: test-fcntl
================

../../gltests/test-fcntl.c:266: assertion 'errno == EINVAL' failed
Abort
FAIL test-fcntl (exit status: 134)

FAIL: test-fdopendir
====================

../../gltests/test-fdopendir.c:51: assertion 'errno == EBADF' failed
Abort
FAIL test-fdopendir (exit status: 134)

FAIL: test-fprintf-posix3.sh
============================

Abort
../../gltests/test-fprintf-posix3.sh: line 16: 120268 Abort ./test-fprintf-posix3${EXEEXT} 1 > /dev/null
FAIL test-fprintf-posix3.sh (exit status: 1)

FAIL: test-fpurge
=================

../../gltests/test-fpurge.c:91: assertion 'ftell (fp) == 8' failed
Abort
FAIL test-fpurge (exit status: 134)

FAIL: test-fstatat
==================

../../gltests/test-fstatat.c:83: assertion 'errno == EBADF' failed
Abort
FAIL test-fstatat (exit status: 134)

FAIL: test-ftruncate.sh
=======================

../../gltests/test-ftruncate.c:52: assertion 'ftruncate (fd, 0) == -1' failed
Abort
FAIL test-ftruncate.sh (exit status: 134)

FAIL: test-futimens
===================

../../gltests/test-futimens.h:121: assertion 'get_stat_atime_ns (&st1) == get_stat_atime_ns (&st2)' failed
Abort
FAIL test-futimens (exit status: 134)

FAIL: test-get-rusage-as
========================

Abort
FAIL test-get-rusage-as (exit status: 134)

FAIL: test-getlogin_r
=====================

../../gltests/test-getlogin_r.c:47: assertion 'err == ERANGE || err == EINVAL' failed
Abort
FAIL test-getlogin_r (exit status: 134)

FAIL: test-ilogbl
=================

../../gltests/test-ilogb.h:60: assertion 'ILOGB (L_(0.0)) == FP_ILOGB0' failed
Abort
FAIL test-ilogbl (exit status: 134)

FAIL: test-linkat
=================

../../gltests/test-linkat.c:102: assertion 'errno == EBADF' failed
Abort
FAIL test-linkat (exit status: 134)

FAIL: test-math
===============

../../gltests/test-math.c:98: assertion 'FP_ILOGB0 == INT_MIN || FP_ILOGB0 == - INT_MAX' failed
Abort
FAIL test-math (exit status: 134)

FAIL: test-mbsnrtowcs3.sh
=========================

../../gltests/test-mbsnrtowcs.c:216: assertion 'ret == 3' failed
Abort
../../gltests/test-mbsnrtowcs3.sh: line 15: 121269 Abort LC_ALL=$LOCALE_JA ./test-mbsnrtowcs${EXEEXT} 3
FAIL test-mbsnrtowcs3.sh (exit status: 134)

FAIL: test-mbsnrtowcs4.sh
=========================

../../gltests/test-mbsnrtowcs.c:261: assertion 'ret == 4' failed
Abort
../../gltests/test-mbsnrtowcs4.sh: line 15: 121276 Abort LC_ALL=$LOCALE_ZH_CN ./test-mbsnrtowcs${EXEEXT} 4
FAIL test-mbsnrtowcs4.sh (exit status: 134)

FAIL: test-mbsrtowcs3.sh
========================

../../gltests/test-mbsrtowcs.c:216: assertion 'ret == 3' failed
Abort
../../gltests/test-mbsrtowcs3.sh: line 15: 121296 Abort LC_ALL=$LOCALE_JA ./test-mbsrtowcs${EXEEXT} 3
FAIL test-mbsrtowcs3.sh (exit status: 134)

FAIL: test-mbsrtowcs4.sh
========================

../../gltests/test-mbsrtowcs.c:261: assertion 'ret == 4' failed
Abort
../../gltests/test-mbsrtowcs4.sh: line 15: 121303 Abort LC_ALL=$LOCALE_ZH_CN ./test-mbsrtowcs${EXEEXT} 4
FAIL test-mbsrtowcs4.sh (exit status: 134)

FAIL: test-mkdirat
==================

../../gltests/test-mkdirat.c:60: assertion 'mkdirat (-1, "foo", 0700) == -1' failed
Abort
FAIL test-mkdirat (exit status: 134)

FAIL: test-mkfifoat
===================

../../gltests/test-mkfifo.h:55: assertion 'func (BASE "fifo/", 0600) == -1' failed
Abort
FAIL test-mkfifoat (exit status: 134)

FAIL: test-nonblocking-socket.sh
================================

../../gltests/test-nonblocking-writer.h:101: assertion 'spent_time < 1.5' failed
Abort
../../gltests/test-nonblocking-socket.sh: line 4: 121456 Abort ./test-nonblocking-socket-main${EXEEXT} ./test-nonblocking-socket-child${EXEEXT} 0
../../gltests/test-nonblocking-reader.h:164: assertion 'spent_time < 0.5' failed
Abort

FAIL: test-openat
=================

../../gltests/test-openat.c:68: assertion 'openat (-1, "foo", O_RDONLY) == -1' failed
Abort
FAIL test-openat (exit status: 134)

FAIL: test-perror2
==================

../../gltests/test-perror2.c:111: assertion 'strstr (buf, err)' failed
FAIL test-perror2 (exit status: 134)

FAIL: test-poll
===============

Unconnected socket test... test-poll hangs

FAIL test-poll (exit status: 143)

FAIL: test-posix_openpt
=======================

../../gltests/test-posix_openpt.c:58: assertion '0 <= slave' failed
Abort
FAIL test-posix_openpt (exit status: 134)

FAIL: test-readlinkat
=====================

../../gltests/test-readlinkat.c:66: assertion 'errno == EBADF' failed
Abort
FAIL test-readlinkat (exit status: 134)

FAIL: test-renameat
===================

../../gltests/test-renameat.c:67: assertion 'renameat (-1, "foo", AT_FDCWD, "bar") == -1' failed
Abort
FAIL test-renameat (exit status: 134)

FAIL: test-renameat2
====================

../../gltests/test-renameat2.c:71: assertion 'errno == EBADF' failed
Abort
FAIL test-renameat2 (exit status: 134)

FAIL: test-statat
=================

../../gltests/test-fstatat.c:83: assertion 'errno == EBADF' failed
Abort
FAIL test-statat (exit status: 134)

FAIL: test-strerror_r
=====================

../../gltests/test-strerror_r.c:78: assertion '*buf' failed
Abort
FAIL test-strerror_r (exit status: 134)

FAIL: test-symlinkat
====================

../../gltests/test-symlinkat.c:67: assertion 'errno == EBADF || errno == ENOSYS' failed
Abort
FAIL test-symlinkat (exit status: 134)

FAIL: test-truncate
===================

../../gltests/test-truncate.c:95: assertion 'truncate (BASE "file/", 0) == -1' failed
Abort
FAIL test-truncate (exit status: 134)

FAIL: test-unlinkat
===================

../../gltests/test-unlinkat.c:72: assertion 'errno == EBADF' failed
Abort
FAIL test-unlinkat (exit status: 134)

FAIL: test-unlockpt
===================

../../gltests/test-unlockpt.c:36: assertion 'unlockpt (-1) == -1' failed
Abort
FAIL test-unlockpt (exit status: 134)

FAIL: test-utime
================

../../gltests/test-utime.c:76: assertion 'utime (BASE "file/", &ts) == -1' failed
Abort
FAIL test-utime (exit status: 134)

FAIL: test-utimens
==================

../../gltests/test-utimens.h:94: assertion 'func (BASE "file/", ts) == -1' failed
Abort
FAIL test-utimens (exit status: 134)

FAIL: test-utimensat
====================

../../gltests/test-utimensat.c:76: assertion 'errno == EBADF' failed
Abort
FAIL test-utimensat (exit status: 134)
Bruno Haible
2017-10-29 20:42:51 UTC
Reply
Permalink
Raw Message
The attached patches fix some of these failures.
Post by Bruno Haible
FAIL: test-areadlinkat
======================
../../gltests/test-areadlinkat.c:78: assertion 'errno == EBADF' failed
Abort
FAIL test-areadlinkat (exit status: 134)
FAIL: test-cloexec
==================
../../gltests/test-cloexec.c:102: assertion '!is_inheritable (fd2)' failed
Abort
FAIL test-cloexec (exit status: 134)
FAIL: test-dup2
===============
../../gltests/test-dup2.c:192: assertion '!is_inheritable (fd + 1)' failed
Abort
FAIL test-dup2 (exit status: 134)
FAIL: test-faccessat
====================
../../gltests/test-faccessat.c:36: assertion 'errno == EBADF' failed
Abort
FAIL test-faccessat (exit status: 134)
FAIL: test-fchdir
=================
../../gltests/test-fchdir.c:51: assertion 'errno == EBADF' failed
Abort
FAIL test-fchdir (exit status: 134)
FAIL: test-fchmodat
===================
../../gltests/test-fchmodat.c:36: assertion 'errno == EBADF' failed
Abort
FAIL test-fchmodat (exit status: 134)
FAIL: test-fchownat
===================
../../gltests/test-fchownat.c:73: assertion 'errno == EBADF' failed
Abort
FAIL test-fchownat (exit status: 134)
FAIL: test-fcntl
================
../../gltests/test-fcntl.c:266: assertion 'errno == EINVAL' failed
Abort
FAIL test-fcntl (exit status: 134)
FAIL: test-fdopendir
====================
../../gltests/test-fdopendir.c:51: assertion 'errno == EBADF' failed
Abort
FAIL test-fdopendir (exit status: 134)
FAIL: test-fpurge
=================
../../gltests/test-fpurge.c:91: assertion 'ftell (fp) == 8' failed
Abort
FAIL test-fpurge (exit status: 134)
FAIL: test-fstatat
==================
../../gltests/test-fstatat.c:83: assertion 'errno == EBADF' failed
Abort
FAIL test-fstatat (exit status: 134)
FAIL: test-ftruncate.sh
=======================
../../gltests/test-ftruncate.c:52: assertion 'ftruncate (fd, 0) == -1' failed
Abort
FAIL test-ftruncate.sh (exit status: 134)
FAIL: test-futimens
===================
../../gltests/test-futimens.h:121: assertion 'get_stat_atime_ns (&st1) == get_stat_atime_ns (&st2)' failed
Abort
FAIL test-futimens (exit status: 134)
FAIL: test-getlogin_r
=====================
../../gltests/test-getlogin_r.c:47: assertion 'err == ERANGE || err == EINVAL' failed
Abort
FAIL test-getlogin_r (exit status: 134)
FAIL: test-linkat
=================
../../gltests/test-linkat.c:102: assertion 'errno == EBADF' failed
Abort
FAIL test-linkat (exit status: 134)
FAIL: test-mkdirat
==================
../../gltests/test-mkdirat.c:60: assertion 'mkdirat (-1, "foo", 0700) == -1' failed
Abort
FAIL test-mkdirat (exit status: 134)
FAIL: test-mkfifoat
===================
../../gltests/test-mkfifo.h:55: assertion 'func (BASE "fifo/", 0600) == -1' failed
Abort
FAIL test-mkfifoat (exit status: 134)
FAIL: test-nonblocking-socket.sh
================================
../../gltests/test-nonblocking-writer.h:101: assertion 'spent_time < 1.5' failed
Abort
../../gltests/test-nonblocking-socket.sh: line 4: 121456 Abort ./test-nonblocking-socket-main${EXEEXT} ./test-nonblocking-socket-child${EXEEXT} 0
../../gltests/test-nonblocking-reader.h:164: assertion 'spent_time < 0.5' failed
Abort
FAIL: test-openat
=================
../../gltests/test-openat.c:68: assertion 'openat (-1, "foo", O_RDONLY) == -1' failed
Abort
FAIL test-openat (exit status: 134)
FAIL: test-poll
===============
Unconnected socket test... test-poll hangs
FAIL test-poll (exit status: 143)
FAIL: test-posix_openpt
=======================
../../gltests/test-posix_openpt.c:58: assertion '0 <= slave' failed
Abort
FAIL test-posix_openpt (exit status: 134)
FAIL: test-readlinkat
=====================
../../gltests/test-readlinkat.c:66: assertion 'errno == EBADF' failed
Abort
FAIL test-readlinkat (exit status: 134)
FAIL: test-renameat
===================
../../gltests/test-renameat.c:67: assertion 'renameat (-1, "foo", AT_FDCWD, "bar") == -1' failed
Abort
FAIL test-renameat (exit status: 134)
FAIL: test-renameat2
====================
../../gltests/test-renameat2.c:71: assertion 'errno == EBADF' failed
Abort
FAIL test-renameat2 (exit status: 134)
FAIL: test-statat
=================
../../gltests/test-fstatat.c:83: assertion 'errno == EBADF' failed
Abort
FAIL test-statat (exit status: 134)
FAIL: test-symlinkat
====================
../../gltests/test-symlinkat.c:67: assertion 'errno == EBADF || errno == ENOSYS' failed
Abort
FAIL test-symlinkat (exit status: 134)
FAIL: test-truncate
===================
../../gltests/test-truncate.c:95: assertion 'truncate (BASE "file/", 0) == -1' failed
Abort
FAIL test-truncate (exit status: 134)
FAIL: test-unlinkat
===================
../../gltests/test-unlinkat.c:72: assertion 'errno == EBADF' failed
Abort
FAIL test-unlinkat (exit status: 134)
FAIL: test-unlockpt
===================
../../gltests/test-unlockpt.c:36: assertion 'unlockpt (-1) == -1' failed
Abort
FAIL test-unlockpt (exit status: 134)
FAIL: test-utime
================
../../gltests/test-utime.c:76: assertion 'utime (BASE "file/", &ts) == -1' failed
Abort
FAIL test-utime (exit status: 134)
FAIL: test-utimens
==================
../../gltests/test-utimens.h:94: assertion 'func (BASE "file/", ts) == -1' failed
Abort
FAIL test-utimens (exit status: 134)
FAIL: test-utimensat
====================
../../gltests/test-utimensat.c:76: assertion 'errno == EBADF' failed
Abort
FAIL test-utimensat (exit status: 134)
Loading...