* tests/cp/acl: Skip this test when cp lacks ACL support.

* tests/cp/Makefile.am (TESTS_ENVIRONMENT): Set $(CONFIG_HEADER).
This commit is contained in:
Jim Meyering committed 2006-09-05 11:50:56 +00:00
1 parent fe99a4f8c8
commit ef2071bc67
3 files changed
+11

No files matched your search

+3
View File
@@ -1,5 +1,8 @@
2006-09-05 Jim Meyering <jim@meyering.net>
* tests/cp/acl: Skip this test when cp lacks ACL support.
* tests/cp/Makefile.am (TESTS_ENVIRONMENT): Set $(CONFIG_HEADER).
* src/c99-to-c89.diff (remove.c): Adapt one hunk to match the new
context from change of 2006-09-02.
+1
View File
@@ -34,4 +34,5 @@ TESTS = \
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
MAKE=$(MAKE) \
CONFIG_HEADER=$(CONFIG_HEADER) \
PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
+7
View File
@@ -23,6 +23,13 @@
# Make sure we get English translations.
. $srcdir/../lang-default
# Skip this test if cp was built without ACL support:
grep '^#define USE_ACL 0' $CONFIG_HEADER > /dev/null && \
{
echo 1>&2 "$0: insufficient ACL support, so skipping this test"
(exit 77); exit 77
}
if test "$VERBOSE" = yes; then
set -x
mv --version