TEST add simple UNMAP test

This commit is contained in:
Ronnie Sahlberg
2013-01-21 19:38:51 -08:00
parent d7be22fa2f
commit 2535eaed47
26 changed files with 161 additions and 104 deletions

View File

@@ -31,14 +31,11 @@ test_write12_flags(void)
int ret;
unsigned char *buf;
CHECK_FOR_DATALOSS;
logging(LOG_VERBOSE, "");
logging(LOG_VERBOSE, "Test WRITE12 flags");
if (!data_loss) {
CU_PASS("[SKIPPED] --dataloss flag is not set. Skipping test.");
return;
}
buf = malloc(block_size);
logging(LOG_VERBOSE, "Test WRITE12 with DPO==1");
ret = write12(iscsic, tgt_lun, 0,