TESTS: We need to clear local_iscsi_queue_pdu before each test

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2016-10-02 10:45:27 -07:00
parent 714bad2153
commit 73fe55596d
2 changed files with 1 additions and 1 deletions

View File

@@ -773,6 +773,7 @@ test_setup(void)
{
task = NULL;
read_write_buf = NULL;
local_iscsi_queue_pdu = NULL;
}
void

View File

@@ -83,5 +83,4 @@ test_compareandwrite_invalid_dataout_size(void)
block_size, 0, 0, 0, 0,
EXPECT_STATUS_GENERIC_BAD);
local_iscsi_queue_pdu = NULL;
}