UNMAP test, add subtest for no-descriptor at all

This commit is contained in:
Ronnie Sahlberg
2013-01-21 20:36:04 -08:00
parent 27f46c862f
commit 9bf6a3d68b

View File

@@ -67,4 +67,10 @@ test_unmap_0blocks(void)
}
ret = unmap(iscsic, tgt_lun, 0, list, 256);
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);
}