view modules/lchown-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 3c592b4deb04
children
line wrap: on
line source

Files:
tests/nap.h
tests/test-lchown.h
tests/test-lchown.c
tests/signature.h
tests/macros.h

Depends-on:
ignore-value
mgetgroups
nanosleep
stat-time
stdbool
symlink

configure.ac:
AC_CHECK_FUNCS_ONCE([getegid])

Makefile.am:
TESTS += test-lchown
check_PROGRAMS += test-lchown
test_lchown_LDADD = $(LDADD) $(LIB_NANOSLEEP)