strace/tests/lstat.c
Dmitry V. Levin 38e37686f2 tests: add lstat.test and lstat64.test
* tests/lstat.c: New file.
* tests/lstat64.c: Likewise.
* tests/lstatx.c: Likewise.
* tests/lstat.test: New test.
* tests/lstat64.test: Likewise.
* tests/Makefile.am (check_PROGRAMS): Add lstat and lstat64.
(lstat64_CFLAGS): Define.
(TESTS): Add lstat.test and lstat64.test.
(EXTRA_DIST): Add lstatx.c.
* tests/.gitignore: Add lstat and lstat64.
2015-12-05 00:03:02 +00:00

14 lines
232 B
C

#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <sys/syscall.h>
#undef TEST_SYSCALL_NAME
#ifdef __NR_lstat
# define TEST_SYSCALL_NAME lstat
# define SAMPLE_SIZE ((kernel_ulong_t) 43147718418)
#endif
#include "lstatx.c"