summaryrefslogtreecommitdiff
path: root/modules/lstat-tests
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-09-18 18:06:31 -0600
committerEric Blake <ebb9@byu.net>2009-09-19 13:38:41 -0600
commit3a5041b1c62c2b7c829f47bec2f1789c59844b6c (patch)
tree4bdba64a43ebe472eebfc40fde320b8641897793 /modules/lstat-tests
parent6ca71ffe395184749d849f5bba4771d6b2fbb7d6 (diff)
downloadgnulib-3a5041b1c62c2b7c829f47bec2f1789c59844b6c.tar.gz
test-fstatat: new test, to expose Solaris 9 bugs
Share the stat and lstat tests with fstatat. * tests/test-stat.c (main): Factor guts... * tests/test-stat.h (test_stat_func): ...into new file. * tests/test-lstat.c (main): Factor guts... * tests/test-lstat.h (test_lstat_func): ...into new file. * tests/test-fstatat.c: New file. * modules/stat-tests (Files): Add test-stat.h. * modules/lstat-tests (Files): Add test-lstat.h. (Depends-on): Add stdbool. * modules/openat-tests (Depends-on): Add pathmax. (Files): Add test-lstat.h, test-stat.h, test-fstatat.c. (Makefile.am): Run new test. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules/lstat-tests')
-rw-r--r--modules/lstat-tests2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/lstat-tests b/modules/lstat-tests
index 23686924a7..acd2bcd58c 100644
--- a/modules/lstat-tests
+++ b/modules/lstat-tests
@@ -1,9 +1,11 @@
Files:
+tests/test-lstat.h
tests/test-lstat.c
Depends-on:
errno
same-inode
+stdbool
configure.ac:
AC_CHECK_FUNCS_ONCE([symlink])