Spdk/test/unit/lib
Seth Howell 9042f3468b test/crypto_ut: change alignment of allocation
This is intended to avoid a crypto failure when we have ASAN disabled.
In order to appease a scan-build error, we have to assert that the
memory address for two g_io_ctx->cry_iov.iov_base is different between
runs of _crypto_operation_complete. However, when we have asan disabled,
two subsequest calls to spdk_dma_malloc yield the same address, so
change the alignment to prevent allocating the same address.

Change-Id: Ia3dfbec5bb16d00bbe7dc136a886e0b9caea71a7
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/442413
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
2019-01-29 08:47:07 +00:00
..
bdev test/crypto_ut: change alignment of allocation 2019-01-29 08:47:07 +00:00
blob thread: Simplify two unit tests with nested poll calls 2019-01-21 13:54:46 +00:00
blobfs thread: Simplify two unit tests with nested poll calls 2019-01-21 13:54:46 +00:00
event parse: add return value to app_parse callback 2019-01-18 10:08:09 +00:00
ftl test/unit/ftl: Fix rwb_parallel unit test 2019-01-24 18:55:56 +00:00
ioat pci: remove ioat-specific attach functions 2018-12-07 17:24:19 +00:00
iscsi build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
json json: add utilities function enabling itaration over JSON object 2018-10-18 16:07:37 +00:00
jsonrpc jsonrpc: fix received JSON buffer overwrite 2019-01-10 14:31:37 +00:00
log build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
lvol lvol: add option to change default data erase method 2019-01-23 22:25:37 +00:00
nvme test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
nvmf nvmf: Add the Keep Alive feature 2019-01-24 04:24:11 +00:00
reduce reduce: remove close callback 2019-01-16 22:25:13 +00:00
scsi thread: Rename spdk_thread_msg to spdk_msg_fn 2018-12-18 23:31:08 +00:00
sock UT: fix the sock_ut failure because of the port conflict 2019-01-22 17:28:24 +00:00
thread thread: Rename spdk_free_thread to spdk_thread_exit 2019-01-17 11:24:38 +00:00
util string: spdk_strtol to delegate additional error checking 2019-01-29 00:10:57 +00:00
vhost vhost: allow multiple sessions per device 2019-01-24 17:37:03 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile ftl: Added unit tests for FTL library 2019-01-22 23:22:16 +00:00