tests: check verbose decoding of 32-bit and 64-bit struct stat
* tests/stat.c: New file.
* tests/stat32.c: Likewise.
* tests/stat32-v.test: New file.
* tests/stat64-v.test: Likewise.
* tests/Makefile.am (check_PROGRAMS): Add stat and stat32.
(stat_CFLAGS): Define.
(TESTS): Add stat32-v.test and stat64-v.test.
* tests/.gitignore: Add stat and stat32.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index e307c57..b88ed55 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -13,12 +13,15 @@
set_ptracer_any \
sigaction \
stack-fcall \
+ stat \
+ stat32 \
statfs \
uid \
uid16 \
uid32 \
uio
+stat_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
statfs_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
uio_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
stack_fcall_SOURCES = stack-fcall.c \
@@ -33,6 +36,8 @@
scm_rights-fd.test \
sigaction.test \
stat.test \
+ stat32-v.test \
+ stat64-v.test \
statfs.test \
mmsg.test \
net.test \