Avoid tests/cp/acl test failure.
authorJim Meyering <meyering@redhat.com>
Sat, 16 Feb 2008 22:10:15 +0000 (23:10 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 16 Feb 2008 22:10:45 +0000 (23:10 +0100)
* tests/check.mk (TESTS_ENVIRONMENT) [CONFIG_HEADER]: Define
to an absolute name, so it can be used from any point in the
test hierarchy.  Reported by James Youngman.

tests/check.mk

index 48cffa40ac964bebadab1ee7524dc8fc091097e6..8caf29d05715fa599d0ab2af2200e84d25ea08e3 100644 (file)
@@ -44,7 +44,7 @@ TESTS_ENVIRONMENT =                           \
   host_triplet='$(host_triplet)'               \
   srcdir='$(srcdir)'                           \
   top_srcdir='$(top_srcdir)'                   \
-  CONFIG_HEADER='$(CONFIG_HEADER)'             \
+  CONFIG_HEADER='$(abs_top_builddir)/lib/config.h' \
   CU_TEST_NAME=`basename '$(abs_srcdir)'`,$$tst        \
   EGREP='$(EGREP)'                             \
   EXEEXT='$(EXEEXT)'                           \