view modules/copy-file-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 bc7d656f8f54
children
line wrap: on
line source

Files:
tests/test-copy-file.sh
tests/test-copy-file-1.sh
tests/test-copy-file-2.sh
tests/test-copy-file.c
tests/macros.h

Depends-on:
acl
acl-tests
progname
read-file
xalloc

configure.ac:

Makefile.am:
TESTS += test-copy-file.sh test-copy-file-1.sh test-copy-file-2.sh
TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL)
check_PROGRAMS += test-copy-file
test_copy_file_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@