test-tool: Add overwrite check for all test cases
Check if the residual data does not owerwrite existing data blocks has now been added for all testing data to improve the uniformity of test runs, increase test readability and remove the duplicate testing data records.
This commit is contained in:
@@ -34,11 +34,14 @@ struct residuals_test_data {
|
||||
|
||||
size_t residuals_amount; /* The amount of residual data in bytes */
|
||||
|
||||
bool check_overwrite; /* Whether the test checks for overwrite or not */
|
||||
|
||||
const char *log_messages; /* Test case description */
|
||||
};
|
||||
|
||||
struct task_status {
|
||||
int status;
|
||||
struct scsi_sense sense;
|
||||
};
|
||||
|
||||
extern bool command_is_implemented;
|
||||
extern void write_residuals_test (const struct residuals_test_data *tdata);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user