* tests/rm/Makefile.am (TESTS_ENVIRONMENT): Set $CONFIG_HEADER.
2006-09-03 Jim Meyering <jim@meyering.net>
* tests/rm/inaccessible: Adjust for movement of config.h to lib/.
+ Use $CONFIG_HEADER, rather than hard-coding it.
+ * tests/rm/Makefile.am (TESTS_ENVIRONMENT): Set $CONFIG_HEADER.
2006-09-02 Paul Eggert <eggert@cs.ucla.edu>
TESTS_ENVIRONMENT = \
RM=../../src/rm \
MKDIR=../../src/mkdir \
+ CONFIG_HEADER=$(CONFIG_HEADER) \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
PERL="$(PERL)" \
# Skip this test if your system has neither the openat-style functions
# nor /proc/self/fd support with which to emulate them.
skip=yes
-grep '^#define HAVE_OPENAT' $top_srcdir/lib/config.h > /dev/null && skip=no
+grep '^#define HAVE_OPENAT' $CONFIG_HEADER > /dev/null && skip=no
test -d /proc/self/fd && skip=no
if test $skip = yes; then
echo 1>&2 "$0: no openat support, so skipping this test"