TEST: update all the verify tests to a new API
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
This commit is contained in:
committed by
Ronnie Sahlberg
parent
138939cb0e
commit
8aefc7d579
@@ -1,4 +1,3 @@
|
||||
|
||||
/*
|
||||
Copyright (C) 2013 Ronnie Sahlberg <ronniesahlberg@gmail.com>
|
||||
|
||||
@@ -42,7 +41,8 @@ test_verify16_flags(void)
|
||||
|
||||
logging(LOG_VERBOSE, "Test VERIFY16 with DPO==1");
|
||||
ret = verify16(iscsic, tgt_lun, 0, block_size,
|
||||
block_size, 0, 1, 0, buf);
|
||||
block_size, 0, 1, 0, buf,
|
||||
EXPECT_STATUS_GOOD);
|
||||
if (ret == -2) {
|
||||
logging(LOG_NORMAL, "[SKIPPED] VERIFY16 is not implemented.");
|
||||
CU_PASS("[SKIPPED] Target does not support VERIFY16. Skipping test");
|
||||
@@ -53,6 +53,7 @@ test_verify16_flags(void)
|
||||
|
||||
logging(LOG_VERBOSE, "Test VERIFY16 with BYTCHK==1");
|
||||
ret = verify16(iscsic, tgt_lun, 0, block_size,
|
||||
block_size, 0, 0, 1, buf);
|
||||
block_size, 0, 0, 1, buf,
|
||||
EXPECT_STATUS_GOOD);
|
||||
CU_ASSERT_EQUAL(ret, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user