[PATCH 00/15] Various misc tests

Eugene Syromyatnikov evgsyr at gmail.com
Sat Oct 15 01:24:27 UTC 2016


Hello.

This patchset adds tests for inotify_add_watch, inotify_init1, inotify_rm_watch,
ioprio_get, ioprio_set, kcmp, lookup_dcookie, process_vm_readv,
process_vm_writev syscalls.

Eugene Syromyatnikov (15):
  tests: iporio_get/ioprio_set test added
  tests: Move LL_PAIR and LL_VAL_TO_PAIR macros to tests.h
  tests: Check decoding of lookup_dcookie syscall
  tests: Move ARG_STR and similar macros to tests.h
  xlat: Use IN_* prefix for inotify_init1 flag constants
  tests: Add inotify checks
  tests: Add kcmp syscall decoding check
  process_vm: Print pid argument as int
  v4l2: check for verbose flag in umoven_or_printaddr_ignore_syserror
  Move umoven_or_printaddr_ignore_syserror to util.c
  io: Use umoven_or_printaddr_ignore_syserror as umove function in
    tprint_iov_upto
  tests: Update preadv test in order to reflect changed behaviour
  process_vm: Use getarg_ull for local_iovcnt, renote_iovcnt, flags
    parameters
  process_vm: Remove syserror check for iovec printing
  tests: Add process_vm_readv, process_vm_writev syscalls decoding
    checks

 defs.h                          |    3 +
 io.c                            |    8 +-
 process_vm.c                    |   41 +++---
 scsi.c                          |    5 +-
 tests/.gitignore                |    7 +
 tests/Makefile.am               |   15 ++
 tests/add_key.c                 |    3 -
 tests/fadvise.h                 |    7 -
 tests/inotify.c                 |   92 ++++++++++++
 tests/inotify.test              |    6 +
 tests/inotify_init1.c           |   71 +++++++++
 tests/inotify_init1.test        |    6 +
 tests/ioctl_dm.c                |    2 -
 tests/ioprio.c                  |  104 +++++++++++++
 tests/ioprio.test               |    6 +
 tests/kcmp.c                    |  106 +++++++++++++
 tests/kcmp.test                 |    6 +
 tests/keyctl.c                  |    2 -
 tests/lookup_dcookie.c          |  101 +++++++++++++
 tests/lookup_dcookie.test       |    6 +
 tests/perf_event_open_verbose.c |    2 -
 tests/preadv.c                  |    3 +-
 tests/process_vm_readv.c        |   18 +++
 tests/process_vm_readv.test     |    6 +
 tests/process_vm_readv_writev.c |  310 +++++++++++++++++++++++++++++++++++++++
 tests/process_vm_writev.c       |   18 +++
 tests/process_vm_writev.test    |    6 +
 tests/quotactl.h                |    2 -
 tests/request_key.c             |    3 -
 tests/tests.h                   |   11 ++
 util.c                          |   11 ++
 v4l2.c                          |   11 --
 xlat/inotify_init_flags.in      |    4 +-
 33 files changed, 942 insertions(+), 60 deletions(-)
 create mode 100644 tests/inotify.c
 create mode 100755 tests/inotify.test
 create mode 100644 tests/inotify_init1.c
 create mode 100755 tests/inotify_init1.test
 create mode 100644 tests/ioprio.c
 create mode 100755 tests/ioprio.test
 create mode 100644 tests/kcmp.c
 create mode 100755 tests/kcmp.test
 create mode 100644 tests/lookup_dcookie.c
 create mode 100755 tests/lookup_dcookie.test
 create mode 100644 tests/process_vm_readv.c
 create mode 100755 tests/process_vm_readv.test
 create mode 100644 tests/process_vm_readv_writev.c
 create mode 100644 tests/process_vm_writev.c
 create mode 100755 tests/process_vm_writev.test

-- 
1.7.10.4





More information about the Strace-devel mailing list