TESTS: Additional checks for missing opcodes and skipping tests

This commit is contained in:
Ronnie Sahlberg
2012-08-31 11:42:44 -07:00
parent f3aacb3a5d
commit 4df1525415
13 changed files with 86 additions and 4 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ int T0133_verify10_beyondeol(const char *initiator, const char *url, int data_lo
|| task->sense.key != SCSI_SENSE_ILLEGAL_REQUEST
|| task->sense.ascq != SCSI_SENSE_ASCQ_LBA_OUT_OF_RANGE) {
printf("[FAILED]\n");
printf("VERIFY10 failed but with the wrong sense code. It should have failed with ILLEGAL_REQUEST/LBA_OUT_OF_RANGE.\n");
printf("VERIFY10 failed but with the wrong sense code. It should have failed with ILLEGAL_REQUEST/LBA_OUT_OF_RANGE. Sense:%s\n", iscsi_get_error(iscsi));
ret = -1;
scsi_free_scsi_task(task);
goto test2;