diff options
author | Jim Meyering <meyering@redhat.com> | 2008-09-15 14:37:49 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-09-16 10:08:02 +0200 |
commit | 75de88852acacd665c5b71c19aff67ed7034826b (patch) | |
tree | 77743a8e6030a2a28692374339a8987069789254 /modules/acl-tests | |
parent | 2d49258598687b9c408d662c498875a3ec38e4c8 (diff) | |
download | gnulib-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-tests | 2 |
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@ |