From 75de88852acacd665c5b71c19aff67ed7034826b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 15 Sep 2008 14:37:49 +0200 Subject: 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. --- modules/acl-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/acl-tests') 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@ -- cgit v1.2.1