From fbd6a9a960ac33aca8799127a0bf82813022d752 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Tue, 10 Jul 2012 16:29:34 +1000 Subject: [PATCH] Fix incorrect prontout on test failure. Wrong sense printed --- 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 77db979..046f3e6 100644 --- a/test-tool/0103_read10_rdprotect.c +++ b/test-tool/0103_read10_rdprotect.c @@ -117,7 +117,7 @@ int T0103_read10_rdprotect(const char *initiator, const char *url, int data_loss || task->sense.key != SCSI_SENSE_ILLEGAL_REQUEST || 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"); + printf("READ10 with rdprotect should fail with ILLEGAL REQUEST/INVALID_FIELD_IN_CDB\n"); ret = -1; scsi_free_scsi_task(task); goto finished;