TESTS: rework WRITEVERIFY* tests to the new API

Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
This commit is contained in:
Ronnie Sahlberg
2014-09-17 09:38:33 -07:00
committed by Ronnie Sahlberg
parent 8ffd78c117
commit d3f98dfdd5
22 changed files with 189 additions and 867 deletions

View File

@@ -45,7 +45,8 @@ test_writeverify16_residuals(void)
/* check if writeverify16 is supported */
ret = writeverify16(iscsic, tgt_lun, 0, 0,
block_size, 0, 0, 0, 0, NULL);
block_size, 0, 0, 0, 0, NULL,
EXPECT_STATUS_GOOD);
if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE1VERIFY16 is not implemented.");
CU_PASS("[SKIPPED] Target does not support WRITEVERIFY16. Skipping test");