aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_lib_test.c
Commit message (Collapse)AuthorAgeFilesLines
* scsi: core: Add passthrough tests for success and no failure definitionsMike Christie2025-01-211-0/+7
| | | | | | | | | | | This patch adds scsi_check_passthrough() tests for the cases where a command completes successfully and when the command failed but the caller did not pass in a list of failures. Signed-off-by: Mike Christie <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
* scsi: core: Add kunit tests for scsi_check_passthrough()Mike Christie2024-01-301-0/+330
Add some kunit tests for scsi_check_passthrough() so we can easily make sure we are hitting the cases for which it's difficult to replicate in hardware or even scsi_debug. Signed-off-by: Mike Christie <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Christoph Hellwig <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>