view modules/openat-die @ 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 6d92afe34a82
children
line wrap: on
line source

Description:
Report a save- or restore-cwd failure in our openat replacement and then exit.

Files:
lib/openat-die.c

Depends-on:
openat-h
error
exitfail
gettext-h
snippet/_Noreturn

configure.ac:

Makefile.am:
lib_SOURCES += openat-die.c

Include:
"openat.h"

License:
GPL

Maintainer:
all