Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2014-09-21 14:19:58 -07:00
parent ef20220ac2
commit f2904be1f6
13 changed files with 13 additions and 13 deletions

View File

@@ -48,7 +48,7 @@ test_writeverify10_beyond_eol(void)
i * block_size, block_size, 0, 0, 0, 0, buf, i * block_size, block_size, 0, 0, 0, 0, buf,
EXPECT_LBA_OOB); EXPECT_LBA_OOB);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY10 is not implemented."); logging(LOG_NORMAL, "[SKIPPED] WRITEVERIFY10 is not implemented.");
CU_PASS("WRITEVERIFY10 is not implemented."); CU_PASS("WRITEVERIFY10 is not implemented.");
return; return;
} }

View File

@@ -49,7 +49,7 @@ test_writeverify10_wrprotect(void)
i, 0, 0, 0, buf, i, 0, 0, 0, buf,
EXPECT_INVALID_FIELD_IN_CDB); EXPECT_INVALID_FIELD_IN_CDB);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY10 is not implemented."); logging(LOG_NORMAL, "[SKIPPED] WRITEVERIFY10 is not implemented.");
CU_PASS("WRITEVERIFY10 is not implemented."); CU_PASS("WRITEVERIFY10 is not implemented.");
return; return;
} }

View File

@@ -41,7 +41,7 @@ test_writeverify12_0blocks(void)
0, 0, 0, 0, NULL, 0, 0, 0, 0, NULL,
EXPECT_STATUS_GOOD); EXPECT_STATUS_GOOD);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY12 is not implemented."); logging(LOG_NORMAL, "[SKIPPED] WRITEVERIFY12 is not implemented.");
CU_PASS("WRITEVERIFY12 is not implemented."); CU_PASS("WRITEVERIFY12 is not implemented.");
return; return;
} }

View File

@@ -48,7 +48,7 @@ test_writeverify12_beyond_eol(void)
i * block_size, block_size, 0, 0, 0, 0, buf, i * block_size, block_size, 0, 0, 0, 0, buf,
EXPECT_LBA_OOB); EXPECT_LBA_OOB);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY12 is not implemented."); logging(LOG_NORMAL, "[SKIPPED] WRITEVERIFY12 is not implemented.");
CU_PASS("WRITEVERIFY12 is not implemented."); CU_PASS("WRITEVERIFY12 is not implemented.");
return; return;
} }

View File

@@ -42,7 +42,7 @@ test_writeverify12_flags(void)
block_size, block_size, 0, 1, 0, 0, buf, block_size, block_size, 0, 1, 0, 0, buf,
EXPECT_STATUS_GOOD); EXPECT_STATUS_GOOD);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY12 is not implemented."); logging(LOG_NORMAL, "[SKIPPED] WRITEVERIFY12 is not implemented.");
CU_PASS("WRITEVERIFY12 is not implemented."); CU_PASS("WRITEVERIFY12 is not implemented.");
return; return;
} }

View File

@@ -45,7 +45,7 @@ test_writeverify12_simple(void)
block_size, 0, 0, 0, 0, buf, block_size, 0, 0, 0, 0, buf,
EXPECT_STATUS_GOOD); EXPECT_STATUS_GOOD);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY12 is not implemented."); logging(LOG_NORMAL, "[SKIPPED] WRITEVERIFY12 is not implemented.");
CU_PASS("WRITEVERIFY12 is not implemented."); CU_PASS("WRITEVERIFY12 is not implemented.");
return; return;
} }

View File

@@ -49,7 +49,7 @@ test_writeverify12_wrprotect(void)
i, 0, 0, 0, buf, i, 0, 0, 0, buf,
EXPECT_INVALID_FIELD_IN_CDB); EXPECT_INVALID_FIELD_IN_CDB);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY12 is not implemented."); logging(LOG_NORMAL, "[SKIPPED] WRITEVERIFY12 is not implemented.");
CU_PASS("WRITEVERIFY12 is not implemented."); CU_PASS("WRITEVERIFY12 is not implemented.");
return; return;
} }

View File

@@ -37,7 +37,7 @@ test_writeverify16_0blocks(void)
0, block_size, 0, 0, 0, 0, NULL, 0, block_size, 0, 0, 0, 0, NULL,
EXPECT_STATUS_GOOD); EXPECT_STATUS_GOOD);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY16 is not implemented."); logging(LOG_NORMAL, "[SKIPPED] WRITEVERIFY16 is not implemented.");
CU_PASS("WRITEVERIFY16 is not implemented."); CU_PASS("WRITEVERIFY16 is not implemented.");
return; return;
} }

View File

@@ -45,7 +45,7 @@ test_writeverify16_beyond_eol(void)
i * block_size, block_size, 0, 0, 0, 0, buf, i * block_size, block_size, 0, 0, 0, 0, buf,
EXPECT_LBA_OOB); EXPECT_LBA_OOB);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY16 is not implemented."); logging(LOG_NORMAL, "[SKIPPED] WRITEVERIFY16 is not implemented.");
CU_PASS("WRITEVERIFY16 is not implemented."); CU_PASS("WRITEVERIFY16 is not implemented.");
return; return;
} }

View File

@@ -42,7 +42,7 @@ test_writeverify16_flags(void)
block_size, block_size, 0, 1, 0, 0, buf, block_size, block_size, 0, 1, 0, 0, buf,
EXPECT_STATUS_GOOD); EXPECT_STATUS_GOOD);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY16 is not implemented."); logging(LOG_NORMAL, "[SKIPPED] WRITEVERIFY16 is not implemented.");
CU_PASS("WRITEVERIFY16 is not implemented."); CU_PASS("WRITEVERIFY16 is not implemented.");
return; return;
} }

View File

@@ -48,7 +48,7 @@ test_writeverify16_residuals(void)
block_size, 0, 0, 0, 0, NULL, block_size, 0, 0, 0, 0, NULL,
EXPECT_STATUS_GOOD); EXPECT_STATUS_GOOD);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY16 is not implemented."); logging(LOG_NORMAL, "[SKIPPED] WRITEVERIFY16 is not implemented.");
CU_PASS("[SKIPPED] Target does not support WRITEVERIFY16. Skipping test"); CU_PASS("[SKIPPED] Target does not support WRITEVERIFY16. Skipping test");
return; return;
} }

View File

@@ -47,7 +47,7 @@ test_writeverify16_simple(void)
block_size, 0, 0, 0, 0, buf, block_size, 0, 0, 0, 0, buf,
EXPECT_STATUS_GOOD); EXPECT_STATUS_GOOD);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY16 is not implemented."); logging(LOG_NORMAL, "[SKIPPED] WRITEVERIFY16 is not implemented.");
CU_PASS("WRITEVERIFY16 is not implemented."); CU_PASS("WRITEVERIFY16 is not implemented.");
return; return;
} }

View File

@@ -51,7 +51,7 @@ test_writeverify16_wrprotect(void)
i, 0, 0, 0, buf, i, 0, 0, 0, buf,
EXPECT_INVALID_FIELD_IN_CDB); EXPECT_INVALID_FIELD_IN_CDB);
if (ret == -2) { if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY16 is not implemented."); logging(LOG_NORMAL, "[SKIPPED] WRITEVERIFY16 is not implemented.");
CU_PASS("WRITEVERIFY16 is not implemented."); CU_PASS("WRITEVERIFY16 is not implemented.");
return; return;
} }