test-tool: Change command_is_implemented from a global variable into an argument

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
This commit is contained in:
Bart Van Assche
2021-02-08 19:01:31 -08:00
parent c7a9f51d23
commit f87a5adaa0
5 changed files with 19 additions and 9 deletions

View File

@@ -45,7 +45,7 @@ struct task_status {
struct scsi_sense sense;
};
extern bool command_is_implemented;
extern void write_residuals_test (const struct residuals_test_data *tdata);
void write_residuals_test(const struct residuals_test_data *tdata,
bool *command_is_implemented);
#endif /* _ISCSI_TESTS_WRITE_RESIDUALS_H_ */