TESTS: remove the read10_task helper

Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
This commit is contained in:
Ronnie Sahlberg
2014-09-17 15:59:17 -07:00
committed by Ronnie Sahlberg
parent 9e75b10103
commit 832d88797a
25 changed files with 55 additions and 80 deletions

View File

@@ -30,11 +30,12 @@
static void
check_wabereq(void)
{
struct scsi_task *task_ret;
struct scsi_task *task_ret = NULL;
logging(LOG_VERBOSE, "Read one block from LBA 0");
task_ret = read10_task(iscsic, tgt_lun, 0, block_size, block_size,
0, 0, 0, 0, 0, NULL);
read10(iscsic, &task_ret, tgt_lun, 0, block_size, block_size,
0, 0, 0, 0, 0, NULL,
EXPECT_STATUS_GOOD);
CU_ASSERT_PTR_NOT_NULL(task_ret);
CU_ASSERT_NOT_EQUAL(task_ret->status, SCSI_STATUS_CANCELLED);