TESTS: Add a test that a target handles an unsolicited DATA-OUT correctly.
Send a large number of DATA-OUT PDUs that do not have a matching SCSI-COMMAND PDU and verify that the target responds correctly. Either by terminating the session or by just ignoring the data. Verify also that the target is not "surprised" and crashes. Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
@@ -239,6 +239,7 @@ struct scsi_test tests[] = {
|
||||
|
||||
/* sending too much unsolicited data */
|
||||
{ "T1030_unsolicited_data_overflow", T1030_unsolicited_data_overflow },
|
||||
{ "T1031_unsolicited_data_out", T1031_unsolicited_data_out },
|
||||
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user