* 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.
fchmod
fchmodat
fchown
+fchown32
fchownat
fcntl
fcntl64
fchmod \
fchmodat \
fchown \
+ fchown32 \
fchownat \
fcntl \
fcntl64 \
fchmod.test \
fchmodat.test \
fchown.test \
+ fchown32.test \
fchownat.test \
fcntl.test \
fcntl64.test \
--- /dev/null
+#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
--- /dev/null
+#!/bin/sh
+
+# Check fchown32 syscall decoding.
+
+. "${srcdir=.}/init.sh"
+run_strace_match_diff -a18