[PATCH v2 0/5] tests: Refactor of retstr from futex.c into a library function and updated readahead test

Eugene Syromyatnikov evgsyr at gmail.com
Fri Sep 2 15:24:55 UTC 2016


Hello.

Changes from v1:
 * sprintrc now takes long as rc argument since syscalls return long.
 * Changes in various rc values support as suggested by Dmitry.

Eugene Syromyatnikov (5):
  tests/futex: Rename retstr to sprintrc
  tests/futex: Increase static sprintrc buffer size
  tests/futex: Add support for return codes other than 0 and -1 to
    sprintrc
  tests: Move return code printing into a separate file
  tests: check decoding of readahead syscall

 tests/.gitignore     |    1 +
 tests/Makefile.am    |    3 ++
 tests/futex.c        |   99 ++++++++++++++++++++++----------------------------
 tests/readahead.c    |   62 +++++++++++++++++++++++++++++++
 tests/readahead.test |    6 +++
 tests/sprintrc.c     |   33 +++++++++++++++++
 tests/tests.h        |    3 ++
 7 files changed, 152 insertions(+), 55 deletions(-)
 create mode 100644 tests/readahead.c
 create mode 100755 tests/readahead.test
 create mode 100644 tests/sprintrc.c

-- 
1.7.10.4





More information about the Strace-devel mailing list