view modules/memcasecmp-tests @ 17935:0ad1f4c9eed5 default tip

tests: support stderr verification with returns_() * tests/init.sh (returns_): Disable tracing for this wrapper function, so that stderr of the wrapped command is unchanged, allowing for verification of the contents.
author Pádraig Brady <P@draigBrady.com>
date Mon, 16 Feb 2015 17:20:39 +0000
parents 66bcc6bf731b
children
line wrap: on
line source

Files:
tests/test-memcasecmp.c
tests/zerosize-ptr.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])

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