view modules/memmem-tests @ 14138:222670d93ba4

signal: work around Haiku issue with SIGBUS * lib/siglist.h: Add comment. * lib/sig2str.c (numname_table): Swap SIGBUS order, to match strsignal's favoring of SIGSEGV. * tests/test-signal.c (main): Avoid test failure. * doc/posix-headers/signal.texi (signal.h): Document the issue. Reported by Scott McCreary. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Fri, 31 Dec 2010 12:36:15 -0700
parents a48d3d749ca5
children
line wrap: on
line source

Files:
tests/test-memmem.c
tests/zerosize-ptr.h
tests/signature.h
tests/macros.h
m4/mmap-anon.m4

Depends-on:
extensions
getpagesize

configure.ac:
gl_FUNC_MMAP_ANON
AC_CHECK_HEADERS_ONCE([sys/mman.h])
AC_CHECK_FUNCS_ONCE([mprotect])
AC_CHECK_DECLS_ONCE([alarm])

Makefile.am:
TESTS += test-memmem
check_PROGRAMS += test-memmem