Dmitry V. Levin
96492b2acd
* tests/fchown32.c: New file. * tests/fchown32.test: New test. * tests/.gitignore: Add fchown32. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add fchown32.test.
16 lines
239 B
C
16 lines
239 B
C
#include "tests.h"
|
|
#include <sys/syscall.h>
|
|
|
|
#ifdef __NR_fchown32
|
|
|
|
# define SYSCALL_NR __NR_fchown32
|
|
# define SYSCALL_NAME "fchown32"
|
|
# define ACCESS_BY_DESCRIPTOR
|
|
# include "xchownx.c"
|
|
|
|
#else
|
|
|
|
SKIP_MAIN_UNDEFINED("__NR_fchown32")
|
|
|
|
#endif
|