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

Eugene Syromyatnikov evgsyr at gmail.com
Thu Sep 1 15:15:38 UTC 2016


Hello.

In accordance with Dmitry's suggestion, readahead test now supports the
case when call returns 0. In order to do so, I decided to move function
for printing return code from the futex test to libtests. The update of
count argument format specifier in readahed syscall is out of scope of
this patch set, since looks like it is fine as is.

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     |   36 ++++++++++++++++++
 tests/tests.h        |    3 ++
 7 files changed, 155 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