Hello.

I've noticed that IPC tests do not check first parameter (IPC ID) enough
which allowed incorrect format specifier usage. These patches augment
tests with regard to aforementioned issue and correct illicit behaviour.

Eugene Syromyatnikov (2):
  tests: Additional IPC checks
  Change type of the format specifier from "%lu" to "%d" for IPC ID

 ipc_msgctl.c     |    2 +-
 ipc_sem.c        |    8 +++----
 ipc_shm.c        |    2 +-
 ipc_shmctl.c     |    2 +-
 tests/ipc_msg.c  |   51 +++++++++++++++++++++++++++++++++++++-----
 tests/ipc_sem.c  |   27 +++++++++++++++++++++++
 tests/ipc_shm.c  |   23 +++++++++++++++++--
 tests/semop.c    |   65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/semop.test |    2 +-
 tests/shmxt.c    |   11 +++++++++
 10 files changed, 177 insertions(+), 16 deletions(-)

-- 
1.7.10.4


------------------------------------------------------------------------------
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to