cc991aad61
Operation of closing and deleting a blob is common throughout the tests. This patch creates helper function ut_blob_close_and_delete(), to do exactly that with the right asserts. Throughout the UT this function replaces all instances where blob is closed and deleted, when it is not the subject of particular unit test (focus is on other functionality). It will allow to later use it in setup/cleanup functions for UT suite - similar to bs init. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ic56594da8cd4c442b62890d62961b44771059679 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1202 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
bdev | ||
blob | ||
blobfs | ||
event | ||
ftl | ||
ioat | ||
iscsi | ||
json | ||
jsonrpc | ||
log | ||
lvol | ||
notify | ||
nvme | ||
nvmf | ||
reduce | ||
scsi | ||
sock | ||
thread | ||
util | ||
vhost | ||
json_mock.c | ||
Makefile |