summaryrefslogtreecommitdiff
path: root/modules/acl-tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-09-15 14:37:49 +0200
committerJim Meyering <meyering@redhat.com>2008-09-16 10:08:02 +0200
commit75de88852acacd665c5b71c19aff67ed7034826b (patch)
tree77743a8e6030a2a28692374339a8987069789254 /modules/acl-tests
parent2d49258598687b9c408d662c498875a3ec38e4c8 (diff)
downloadgnulib-75de88852acacd665c5b71c19aff67ed7034826b.tar.gz
avoid spurious test failure when library is built without ACL support
* m4/acl.m4 (USE_ACL): Define as a shell variable, too, for... * modules/acl-tests (Makefile.am) [TESTS_ENVIRONMENT]: Add USE_ACL. * tests/test-file-has-acl.sh: Skip if USE_ACL == 0. * tests/test-copy-acl.sh: Likewise.
Diffstat (limited to 'modules/acl-tests')
-rw-r--r--modules/acl-tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/acl-tests b/modules/acl-tests
index 04e004cfd8..0aacd4141b 100644
--- a/modules/acl-tests
+++ b/modules/acl-tests
@@ -17,7 +17,7 @@ configure.ac:
Makefile.am:
TESTS += test-file-has-acl.sh test-set-mode-acl.sh test-copy-acl.sh
-TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@'
+TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' USE_ACL=$(USE_ACL)
check_PROGRAMS += test-file-has-acl test-set-mode-acl test-copy-acl test-sameacls
test_file_has_acl_LDADD = $(LDADD) $(LIB_ACL)
test_set_mode_acl_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@