test-fstatat: new test, to expose Solaris 9 bugs
authorEric Blake <ebb9@byu.net>
Sat, 19 Sep 2009 00:06:31 +0000 (18:06 -0600)
committerEric Blake <ebb9@byu.net>
Sat, 19 Sep 2009 19:38:41 +0000 (13:38 -0600)
commit3a5041b1c62c2b7c829f47bec2f1789c59844b6c
tree4bdba64a43ebe472eebfc40fde320b8641897793
parent6ca71ffe395184749d849f5bba4771d6b2fbb7d6
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>
ChangeLog
modules/lstat-tests
modules/openat-tests
modules/stat-tests
tests/test-fstatat.c [new file with mode: 0644]
tests/test-lstat.c
tests/test-lstat.h [new file with mode: 0644]
tests/test-stat.c
tests/test-stat.h [new file with mode: 0644]