Spdk/test/unit/lib/bdev/compress.c
paul luse 40b14690db ut/compress: add and beef up mbuf testing
In prep for testing the 2MB boundary condition multiple changes
were needed:

* update mocked mbuf function for chaining
* init next pointer to NULL during mbuf allocation
* set and check expected physcal addresses in _compress_operation()
* init iovec values in test routines to more sane values

Change-Id: Icff030e8bef693952f7da66e7aae77e207fbfd40
Signed-off-by: paul luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465983
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2019-08-22 04:34:18 +00:00
..
.gitignore bdev/compress: add missing .gitignore file for UT binary 2019-05-30 17:56:54 +00:00
compress_ut.c ut/compress: add and beef up mbuf testing 2019-08-22 04:34:18 +00:00
Makefile bdev/compress: add unit test mocks and empty functions 2019-04-02 19:25:28 +00:00