strace/tests/newfstatat.c
Dmitry V. Levin b0e61152ca tests: add fstatat64.test and newfstatat.test
* configure.ac (AC_CHECK_FUNCS): Add fstatat, ftruncate, and futimens.
* tests/fstatat.c: New file.
* tests/fstatat64.c: Likewise.
* tests/newfstatat.c: Likewise.
* tests/fstatat64.test: New test.
* tests/newfstatat.test: Likewise.
* tests/Makefile.am (check_PROGRAMS): Add fstatat64 and newfstatat.
(fstatat64_CFLAGS, newstatat_CFLAGS): Define.
(TESTS): Add fstatat64.test and newfstatat.test.
(EXTRA_DIST): Add fstatat.c.
* tests/.gitignore: Add fstatat64 and newfstatat.
2015-12-02 01:02:39 +00:00

13 lines
183 B
C

#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <sys/syscall.h>
#undef FSTATAT_NAME
#ifdef __NR_newfstatat
# define FSTATAT_NAME "newfstatat"
#endif
#include "fstatat.c"