test-tool: add COMPARE AND WRITE MiscompareSense test
This test checks regular sense/ascq values on miscompare as well as the Information sense field, which should be set as follows: sense key set to MISCOMPARE and the additional sense code set to MISCOMPARE DURING VERIFY OPERATION. In the sense data (see 4.18 and SPC-5) the offset from the start of the Data-Out Buffer to the first byte of data that was not equal shall be reported in the INFORMATION field. Signed-off-by: David Disseldorp <ddiss@suse.de>
This commit is contained in:
@@ -68,6 +68,7 @@ static CU_TestInfo tests_compareandwrite[] = {
|
||||
{ "Simple", test_compareandwrite_simple },
|
||||
{ "DpoFua", test_compareandwrite_dpofua },
|
||||
{ "Miscompare", test_compareandwrite_miscompare },
|
||||
{ "MiscompareSense", test_compareandwrite_miscompare_sense },
|
||||
{ "Unwritten", test_compareandwrite_unwritten },
|
||||
{ "InvalidDataOutSize",
|
||||
test_compareandwrite_invalid_dataout_size },
|
||||
|
||||
Reference in New Issue
Block a user