Skip to content

Additional checks for strace DM ioctl decoder test

Eugene Syromyatnikov dm-devel 1 version New

Get series with b4
b4 am 20161011223803.GA30714@obsidian

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9util: Add support for QUOTE_0_TERMINATED in user_style to ptrintstr_exutil.c+15 -30 replies
2/9tests: Add check for printing of overlength strings to ioctl_dm testtests/ioctl_dm.c tests/ioctl_dm.test+2 -20 replies
3/9tests: Add check for presence of HAVE_LINUX_DM_IOCTL_H macro definition to ioctl_dm testtests/ioctl_dm.c+15 -60 replies
4/9tests/ioctl_dm: whitespacetests/ioctl_dm.c+2 -10 replies
5/9dm: Fix comma printing for the case when dm_target_msg structure is inaccessibledm.c+3 -10 replies
6/9tests/ioctl_dm: overly long string printing checkstests/ioctl_dm.c+4 -40 replies
7/9tests: Some additional checks for ioctl_dm testtests/ioctl_dm.c+505 -00 replies
8/9tests: Add ioctl_dm to .gitignoretests/.gitignore+1 -00 replies
9/9tests: Add checks for abbreviated DM ioctl outputtests/.gitignore tests/Makefile.am tests/ioctl_dm-v.c +3 more+160 -370 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Additional checks for strace DM ioctl decoder test

Hello.

Aside from additional checks themselves, this patchset also contains two notable changes:
* Fix for the previous patchset - misplaced comma printing ("dm: Fix comma printing for the case when dm_target_msg structure is inaccessible").
* Update of printstr_ex call, which enables proper handling of QUOTE_0_TERMINATED user style (it prints cropped string without ellipsis otherwise).

Eugene Syromyatnikov (9):
util: Add support for QUOTE_0_TERMINATED in user_style to
ptrintstr_ex
tests: Add check for printing of overlength strings to ioctl_dm test
tests: Add check for presence of HAVE_LINUX_DM_IOCTL_H macro
definition to ioctl_dm test
tests/ioctl_dm: whitespace
dm: Fix comma printing for the case when dm_target_msg structure is
inaccessible
tests/ioctl_dm: overly long string printing checks
tests: Some additional checks for ioctl_dm test
tests: Add ioctl_dm to .gitignore
tests: Add checks for abbreviated DM ioctl output

 dm.c                  |    4 +-
 tests/.gitignore      |    2 +
 tests/Makefile.am     |    2 +
 tests/ioctl_dm-v.c    |    2 +
 tests/ioctl_dm-v.test |   12 +
 tests/ioctl_dm.c      |  653 +++++++++++++++++++++++++++++++++++++++++++++++--
 tests/ioctl_dm.test   |    2 +-
 util.c                |   18 +-
 8 files changed, 674 insertions(+), 21 deletions(-)
 create mode 100644 tests/ioctl_dm-v.c
 create mode 100755 tests/ioctl_dm-v.test
Signature · 6 lines
1.7.10.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot