Skip to content

Add SCSI generic test group

Johannes Thumshirn linux-block linux-scsi 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 8 repliesIn review
  2. v13 patches 8 repliesSuperseded

Changes to v1 from the cover letter

* Stripped left over TODO comment
* Modified reproducer to accept a device name
* Fixed Makefile so it can build more than one target

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Add ability to build test-casesMakefile src/.gitignore src/Makefile +1 more+480 -10 replies
2/3tests/sg: add SCSI generic test grouopcommon/sg tests/sg/group+69 -00 replies
3/3sg/001: add regression test for syzcaller generated GPF in sg_read pathtests/sg/001 tests/sg/001.out+49 -06 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH blktests v2 0/3] Add SCSI generic test group

Add a test group for the SCSI generic driver and one syzcaller reproducer for this group.

The reprodcuer is distributed as a C program, so the makefile is amended to build C files to be used in the test.

Changes to v1:
* Stripped left over TODO comment
* Modified reproducer to accept a device name
* Fixed Makefile so it can build more than one target

Johannes Thumshirn (3):
Add ability to build test-cases
tests/sg: add SCSI generic test grouop
sg/001: add regression test for syzcaller generated GPF in sg_read
path

 Makefile         |  26 +++-
 common/sg        |  41 ++++++
 src/.gitignore   |   1 +
 src/Makefile     |  16 ++
 src/sg-001.c     | 438 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/sg/001     |  47 ++++++
 tests/sg/001.out |   2 +
 tests/sg/group   |  28 ++++
 8 files changed, 598 insertions(+), 1 deletion(-)
 create mode 100644 common/sg
 create mode 100644 src/.gitignore
 create mode 100644 src/Makefile
 create mode 100644 src/sg-001.c
 create mode 100755 tests/sg/001
 create mode 100644 tests/sg/001.out
 create mode 100644 tests/sg/group
Signature · 1 line
2.12.0