Spdk/test/unit/lib/bdev
paul luse 3671369a1f bdev/compress: Add UT coverage for _compress_operation()
Aas well as general test setup required for this one, additional
mocks, etc.

Had to add some asserts to make scan-build happy although I don't
see how these changes stimulated those failures.

Change-Id: Ief08f9b71ee7a836f6026d26517f5faa5f9d51ce
Signed-off-by: paul luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/451688
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-05-20 16:59:43 +00:00
..
bdev_raid.c bdev/raid: gather all DEFINE_STUB macros and put them up front 2019-05-16 20:29:28 +00:00
bdev.c bdev: add test case for splitting iovs that exceeds child_iov 2019-05-20 09:37:59 +00:00
compress.c bdev/compress: Add UT coverage for _compress_operation() 2019-05-20 16:59:43 +00:00
crypto.c bdev/crypto: add new uninit call needed for dpdk 19.02 2019-04-24 22:00:10 +00:00
gpt test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
mt ut/bdev: change module initialization to async 2019-05-16 08:29:19 +00:00
part.c trace: remove short_name 2019-05-02 08:41:56 +00:00
pmem bdev: Not assert but pass completion status to spdk_bdev_io_get_buf_cb 2019-02-27 01:59:11 +00:00
scsi_nvme.c test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
vbdev_lvol.c bdev: deprecate spdk_vbdev_register 2019-04-04 08:28:31 +00:00
Makefile bdev/compress: add missing mocks and re-enable UT build for comp 2019-04-22 15:44:38 +00:00