[PATCH 00/11] Various minor tests
Eugene Syromyatnikov
evgsyr at gmail.com
Wed Sep 21 21:20:36 UTC 2016
Hello.
This patchset provides a set of some simple syscall decoders test along
with fixes of minor issues discovered in the process.
Eugene Syromyatnikov (11):
tests: Additional getcwd checks
tests: Avoid filling with the same values in ioctl_block test
tests: check decoding of getcpu syscall
xlat: Add values for falloc_flags constants
fallocate: Change print format of offset and len arguments to signed
fadvise: Change printing of len argument to unsigned in fadvise64
syscall
util: Add getarg_ull/getarg_ll functions
fadvise: Use getarg_ull for obtaining len argument of fadvise64
syscall
Use sys_fadvise64 as a decoder for fadvise64 syscall on x32
tests: Add test for decoding fallocate syscall
tests: Add test for decoding fadvise syscall
configure.ac | 1 +
defs.h | 2 ++
fadvise.c | 2 +-
fallocate.c | 4 +--
linux/x32/syscallent.h | 2 +-
tests/.gitignore | 4 +++
tests/Makefile.am | 8 ++++++
tests/fadvise64.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++
tests/fadvise64.test | 6 ++++
tests/fadvise64_64.c | 59 +++++++++++++++++++++++++++++++++++++++
tests/fadvise64_64.test | 6 ++++
tests/fallocate.c | 38 +++++++++++++++++++++++++
tests/fallocate.test | 6 ++++
tests/getcpu.c | 48 ++++++++++++++++++++++++++++++++
tests/getcpu.test | 6 ++++
tests/getcwd.c | 8 ++++++
tests/ioctl_block.c | 2 +-
util.c | 44 +++++++++++++++++++++--------
xlat/falloc_flags.in | 12 ++++----
19 files changed, 306 insertions(+), 23 deletions(-)
create mode 100644 tests/fadvise64.c
create mode 100755 tests/fadvise64.test
create mode 100644 tests/fadvise64_64.c
create mode 100755 tests/fadvise64_64.test
create mode 100644 tests/fallocate.c
create mode 100755 tests/fallocate.test
create mode 100644 tests/getcpu.c
create mode 100755 tests/getcpu.test
--
1.7.10.4
More information about the Strace-devel
mailing list