strace/tests/lchown32.c
Dmitry V. Levin 11f98f21b7 tests: check decoding of lchown32 syscall
* tests/lchown32.c: New file.
* tests/lchown32.test: New test.
* tests/.gitignore: Add lchown32.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add lchown32.test.
2016-04-18 01:10:44 +00:00

15 lines
209 B
C

#include "tests.h"
#include <sys/syscall.h>
#ifdef __NR_lchown32
# define SYSCALL_NR __NR_lchown32
# define SYSCALL_NAME "lchown32"
# include "xchownx.c"
#else
SKIP_MAIN_UNDEFINED("__NR_lchown32")
#endif