History log of /external/strace/tests/fstatat64.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cc2baf339fb4b962dc84dc2754035ef0ab5e05af 05-Dec-2015 Dmitry V. Levin <ldv@altlinux.org> tests: prepare for detailed testing of stat family syscalls

Parametrize code from fstatat.c to support <asm/stat.h>
as an alternative to <sys/stat.h> and move it to a separate file.

* tests/statx.sh: New file, based on fstatat64.test.
* tests/fstatat64.test: Use it.
* tests/newfstatat.test: Likewise.
* tests/xstatx.c: New file, based on fstatat.c.
* tests/fstatat.c: Use it.
* tests/Makefile.am (EXTRA_DIST): Add statx.sh and xstatx.c.
* tests/fstatat64.c (FSTATAT_NAME): Change to TEST_SYSCALL_NAME.
* tests/newfstatat.c: Likewise.
/external/strace/tests/fstatat64.c
b0e61152ca89a85157afe8fb6bc2d40c16b283db 02-Dec-2015 Dmitry V. Levin <ldv@altlinux.org> 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.
/external/strace/tests/fstatat64.c