1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-12 15:06:44 +02:00

Use $CONFIG_HEADER, rather than hard-coding it.

* tests/rm/Makefile.am (TESTS_ENVIRONMENT): Set $CONFIG_HEADER.
This commit is contained in:
Jim Meyering
2006-09-03 07:22:08 +00:00
parent 31ca1f9aec
commit fbb234c2a7
3 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,8 @@
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>

View File

@@ -38,6 +38,7 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
RM=../../src/rm \
MKDIR=../../src/mkdir \
CONFIG_HEADER=$(CONFIG_HEADER) \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
PERL="$(PERL)" \

View File

@@ -30,7 +30,7 @@ PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
# 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"