This commit is contained in:
Ronnie Sahlberg
2013-04-22 17:38:10 -07:00
parent 79f54c5e06
commit 284514b14e
3 changed files with 4 additions and 5 deletions
-1
View File
@@ -43,7 +43,6 @@ test_read16_simple(void)
CU_PASS("READ16 is not implemented and no SBC-3 support claimed."); CU_PASS("READ16 is not implemented and no SBC-3 support claimed.");
return; return;
} }
CU_ASSERT_EQUAL(ret, 0); CU_ASSERT_EQUAL(ret, 0);
} }
+2 -2
View File
@@ -37,8 +37,8 @@ test_readcapacity16_alloclen(void)
for (i = 0; i < 16; i++) { for (i = 0; i < 16; i++) {
ret = readcapacity16(iscsic, tgt_lun, i); ret = readcapacity16(iscsic, tgt_lun, i);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] READ16 is not implemented on this target and it does not claim SBC-3 support."); logging(LOG_NORMAL, "[SKIPPED] READCAPACITY16 is not implemented on this target and it does not claim SBC-3 support.");
CU_PASS("READ16 is not implemented and no SBC-3 support claimed."); CU_PASS("READCAPACITY16 is not implemented and no SBC-3 support claimed.");
return; return;
} }
CU_ASSERT_EQUAL(ret, 0); CU_ASSERT_EQUAL(ret, 0);
+2 -2
View File
@@ -37,8 +37,8 @@ test_readcapacity16_simple(void)
ret = readcapacity16(iscsic, tgt_lun, 16); ret = readcapacity16(iscsic, tgt_lun, 16);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] READ16 is not implemented on this target and it does not claim SBC-3 support."); logging(LOG_NORMAL, "[SKIPPED] READCAPACITY16 is not implemented on this target and it does not claim SBC-3 support.");
CU_PASS("READ16 is not implemented and no SBC-3 support claimed."); CU_PASS("READCAPACITY16 is not implemented and no SBC-3 support claimed.");
return; return;
} }
CU_ASSERT_EQUAL(ret, 0); CU_ASSERT_EQUAL(ret, 0);