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:
@@ -773,6 +773,7 @@ test_setup(void)
|
|||||||
{
|
{
|
||||||
task = NULL;
|
task = NULL;
|
||||||
read_write_buf = NULL;
|
read_write_buf = NULL;
|
||||||
|
local_iscsi_queue_pdu = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -83,5 +83,4 @@ test_compareandwrite_invalid_dataout_size(void)
|
|||||||
block_size, 0, 0, 0, 0,
|
block_size, 0, 0, 0, 0,
|
||||||
EXPECT_STATUS_GENERIC_BAD);
|
EXPECT_STATUS_GENERIC_BAD);
|
||||||
|
|
||||||
local_iscsi_queue_pdu = NULL;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user