TEST: Add a new flag -V that enables verbose logging off the SCSI commands used and if they succeeded or failed
This commit is contained in:
@@ -30,6 +30,7 @@ test_read10_flags(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
logging(LOG_VERBOSE, "\nTest READ10 flags");
|
||||
|
||||
/* This test is only valid for SBC devices */
|
||||
if (device_type != SCSI_INQUIRY_PERIPHERAL_DEVICE_TYPE_DIRECT_ACCESS) {
|
||||
@@ -38,9 +39,6 @@ test_read10_flags(void)
|
||||
}
|
||||
|
||||
|
||||
logging(LOG_VERBOSE, "\nTest READ10 flags");
|
||||
|
||||
|
||||
logging(LOG_VERBOSE, "Test READ10 with DPO==1");
|
||||
ret = read10(iscsic, tgt_lun, 0,
|
||||
block_size, block_size,
|
||||
@@ -69,7 +67,6 @@ test_read10_flags(void)
|
||||
CU_ASSERT_EQUAL(ret, 0);
|
||||
|
||||
|
||||
|
||||
logging(LOG_VERBOSE, "Test READ10 with DPO==1 FUA==1 FUA_NV==1");
|
||||
ret = read10(iscsic, tgt_lun, 0,
|
||||
block_size, block_size,
|
||||
|
||||
Reference in New Issue
Block a user