From 32ba166040ffce7c7633005653d6ca81918ff27b Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sun, 5 Feb 2012 07:35:33 +1100 Subject: [PATCH] TEST-TOOL: READ10 with invalid rdprotect should fail with invalid_field_in_cdb --- test-tool/0103_read10_rdprotect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-tool/0103_read10_rdprotect.c b/test-tool/0103_read10_rdprotect.c index 04d55ae..e6f655a 100644 --- a/test-tool/0103_read10_rdprotect.c +++ b/test-tool/0103_read10_rdprotect.c @@ -99,7 +99,7 @@ int T0103_read10_rdprotect(const char *initiator, const char *url) } if (task->status != SCSI_STATUS_CHECK_CONDITION || task->sense.key != SCSI_SENSE_ILLEGAL_REQUEST - || task->sense.ascq != SCSI_SENSE_ASCQ_INVALID_OPERATION_CODE) { + || task->sense.ascq != SCSI_SENSE_ASCQ_INVALID_FIELD_IN_CDB) { printf("[FAILED]\n"); printf("Read10 with rdprotect should fail with ILLEGAL REQUEST/INVALID OPCODE\n"); ret = -1;