view modules/progname @ 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 1f14c6dd175d
children
line wrap: on
line source

Description:
Program name management.

Files:
lib/progname.h
lib/progname.c

Depends-on:

configure.ac:
AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])

Makefile.am:
lib_SOURCES += progname.h progname.c

Include:
"progname.h"

License:
GPL

Maintainer:
all