TESTS add tests for VERIFY10 and VERIFY12

This commit is contained in:
Ronnie Sahlberg
2013-01-21 14:50:40 -08:00
parent 0e4e2e91bd
commit ab3dfae005
29 changed files with 1163 additions and 100 deletions

View File

@@ -76,7 +76,7 @@ int T0280_verify12_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 = verify12(iscsi, lun, buf, i * block_size, 0, 0, 1, 1, block_size);
ret = verify12(iscsi, lun, 0, i * block_size, block_size, 0, 1, 1, buf);
if (ret != 0) {
goto finished;
}