TESTS: READ6 is optional(==obsolete)

This commit is contained in:
Ronnie Sahlberg
2013-04-27 16:22:58 -07:00
parent 94d048afae
commit f8e317c355
5 changed files with 34 additions and 0 deletions

View File

@@ -41,6 +41,11 @@ test_read6_beyond_eol(void)
ret = read6_lbaoutofrange(iscsic, tgt_lun, num_blocks + 1 - i,
i * block_size, block_size,
NULL);
if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] READ6 is not implemented.");
CU_PASS("READ6 is not implemented.");
return;
}
CU_ASSERT_EQUAL(ret, 0);
}