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

15 lines
205 B
C

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