summaryrefslogtreecommitdiff
path: root/modules/openat-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-11-02 10:07:20 +0100
committerBruno Haible <bruno@clisp.org>2011-11-02 10:07:20 +0100
commitafe598a51a14e75cd697a30ac54fa9cc29c8cde0 (patch)
tree3f4d3fd3b78041e590a3a25bf32e3b1d91219210 /modules/openat-tests
parentaf0285db3e8dee3f40ba573e845362335ac0cff2 (diff)
downloadgnulib-afe598a51a14e75cd697a30ac54fa9cc29c8cde0.tar.gz
New module 'fchmodat', split off from module 'openat'.
* lib/openat.h (chmodat, lchmodat): Enable only if GNULIB_FCHMODAT is defined. * m4/fchmodat.m4: New file, extracted from m4/openat.m4. * m4/openat.m4 (gl_FUNC_OPENAT): Don't set GNULIB_FCHMODAT. Don't test for fchmodat, lchmod. Don't set HAVE_FCHMODAT. * modules/fchmodat: New file, extracted from modules/openat. * modules/openat (Files): Remove lib/fchmodat.c. (configure.ac): Remove AC_LIBOBJ of fchmodat. * modules/fchmodat-tests: New file, extracted from modules/openat-tests. * modules/openat-tests (Files): Remove tests/test-fchmodat.c. (Makefile.am): Remove rules for test-fchmodat. * doc/posix-functions/fchmodat.texi: Mention module 'fchmodat' instead of module 'openat'. * NEWS: Mention the change.
Diffstat (limited to 'modules/openat-tests')
-rw-r--r--modules/openat-tests6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/openat-tests b/modules/openat-tests
index 461f1d4442..80000333dd 100644
--- a/modules/openat-tests
+++ b/modules/openat-tests
@@ -8,7 +8,6 @@ tests/test-fstatat.c
tests/test-mkdirat.c
tests/test-openat.c
tests/test-unlinkat.c
-tests/test-fchmodat.c
tests/signature.h
tests/macros.h
@@ -23,10 +22,9 @@ configure.ac:
Makefile.am:
TESTS += \
- test-fchmodat test-fstatat test-mkdirat test-openat test-unlinkat
+ test-fstatat test-mkdirat test-openat test-unlinkat
check_PROGRAMS += \
- test-fchmodat test-fstatat test-mkdirat test-openat test-unlinkat
-test_fchmodat_LDADD = $(LDADD) @LIBINTL@
+ test-fstatat test-mkdirat test-openat test-unlinkat
test_fstatat_LDADD = $(LDADD) @LIBINTL@
test_mkdirat_LDADD = $(LDADD) @LIBINTL@
test_openat_LDADD = $(LDADD) @LIBINTL@