Spdk/test/lib
Paul Luse d63c9dce6a ut/nvme: add coverage for nvme_allocate_request_user_copy()
Adding this coverage identified how the functions in test_env.c
are closely related to the new mock library. Given that there are
not that many here I don't think we *need* to try and consolidate
or make this any tighter. As it is now, I added a note at the top
of test_env.c to mention the use of mock globals to control when
a function is to be mocked or passed through and this first use
serves as an example.

Change-Id: Iac819f60f2028ac8bd8c75898e7dba7f4e12df35
Signed-off-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/372529
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-08-09 13:04:04 -04:00
..
bdev nbd: allow exporting more than one NBD at once 2017-08-07 17:56:21 -04:00
blobfs makefiles: remove DPDK_INC cflags, no longer needed 2017-08-01 13:41:26 -04:00
env env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
event event: remove spdk_app_init 2017-06-15 18:26:52 -04:00
ioat test: move IOAT library unit test to test/unit 2017-06-21 18:57:35 -04:00
json test: move JSON library unit tests to test/unit 2017-06-20 13:46:07 -04:00
nvme nvme: fix _nvme_ns_cmd_split_sgl_request for last SGE not page aligned 2017-07-31 13:10:52 -04:00
Makefile test: move iSCSI unit tests to test/unit 2017-06-28 13:10:27 -04:00
test_env.c ut/nvme: add coverage for nvme_allocate_request_user_copy() 2017-08-09 13:04:04 -04:00