test tool: Set BYTCHK=1 if EDTL != 0
From SBC-4: BYTCHK = 0 means that the Data-Out buffer contents must not be used. BYTCHK = 1 means that the Data-Out buffer must be compared against the data on the storage medium. Hence set BYTCHK to 1 if EDTL != 0. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
This commit is contained in:
@@ -53,7 +53,7 @@ test_writeverify16_residuals(void)
|
||||
}
|
||||
|
||||
/* check if writeverify16 is supported */
|
||||
WRITEVERIFY16(sd, 0, 0, block_size, 0, 0, 0, 0, NULL,
|
||||
WRITEVERIFY16(sd, 0, 0, block_size, 0, 0, 1, 0, NULL,
|
||||
EXPECT_STATUS_GOOD);
|
||||
|
||||
if (sd->iscsi_ctx == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user