TESTS: update writesame tests to new API

Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
This commit is contained in:
Ronnie Sahlberg
2014-09-17 10:07:10 -07:00
committed by Ronnie Sahlberg
parent d3f98dfdd5
commit 8585e4509b
20 changed files with 179 additions and 653 deletions

View File

@@ -43,9 +43,8 @@ test_writesame10_unmap_vpd(void)
logging(LOG_VERBOSE, "Unmap 1 block using WRITESAME10");
memset(buf, 0, block_size);
ret = writesame10(iscsic, tgt_lun, 0,
block_size, 1,
0, 1, 0, 0, buf);
block_size, 1, 0, 1, 0, 0, buf,
EXPECT_STATUS_GOOD);
if (ret != 0) {
logging(LOG_VERBOSE, "WRITESAME10 UNMAP is not available. "
"Verify that VPD settings reflect this.");