UNMAP test, add subtest for no-descriptor at all
This commit is contained in:
@@ -67,4 +67,10 @@ test_unmap_0blocks(void)
|
|||||||
}
|
}
|
||||||
ret = unmap(iscsic, tgt_lun, 0, list, 256);
|
ret = unmap(iscsic, tgt_lun, 0, list, 256);
|
||||||
CU_ASSERT_EQUAL(ret, 0);
|
CU_ASSERT_EQUAL(ret, 0);
|
||||||
|
|
||||||
|
|
||||||
|
logging(LOG_VERBOSE, "Test UNMAP without any descriptors.");
|
||||||
|
ret = unmap(iscsic, tgt_lun, 0, list, 0);
|
||||||
|
CU_ASSERT_EQUAL(ret, 0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user