TESTS: Add VERIFY16 tests

This commit is contained in:
Ronnie Sahlberg
2013-01-21 14:27:14 -08:00
parent 9799e04cd5
commit 0e4e2e91bd
17 changed files with 584 additions and 57 deletions

View File

@@ -76,7 +76,7 @@ int T0270_verify16_simple(const char *initiator, const char *url)
/* verify the first 1 - 256 blocks at the start of the LUN */
printf("Verify first 1-256 blocks.\n");
for (i = 1; i <= 256; i++) {
ret = verify16(iscsi, lun, buf, i * block_size, 0, 0, 1, 1, block_size);
ret = verify16(iscsi, lun, 0, i * block_size, block_size, 0, 1, 1, buf);
if (ret != 0) {
goto finished;
}