Spdk/test/unit/lib
Shuhei Matsumoto 2fefd9f53c ut/dif: Fill test data buffer by cyclic values to find potential issues
Previously, test data buffer was filled by one value, 0xAB, but
this may not be enough to detect future potential issues.

ut_data_pattern_verify() already did per-byte check, but size of
test data buffer is small and completion time of tests is not long.
So, even if we change ut_data_pattern_generate() to set per-byte
data instead of memset(), extra overhead of test completion time
will be negligible.

Change-Id: I35677b238f96a73c0c408f0818f080a92492dac6
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/c/445430
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: wuzhouhui <wuzhouhui@kingsoft.com>
2019-02-22 17:52:51 +00:00
..
bdev bdev/crypto: fix error path memory leak in driver init 2019-02-20 20:22:16 +00:00
blob thread: Optionally allow the current time to be passed to 2019-02-11 22:58:45 +00:00
blobfs thread: Optionally allow the current time to be passed to 2019-02-11 22:58:45 +00:00
event test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
ftl test/unit/ftl: Add unit test for write pointer functionality 2019-02-20 21:46:58 +00:00
ioat test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
iscsi test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +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 test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
lvol test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
nvme nvme: make the completion status string accessible from external applications 2019-02-15 21:11:28 +00:00
nvmf NVMe-oF: add asserts for SGE counts 2019-02-12 23:34:20 +00:00
reduce test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
scsi scsi: Use spdk_bdev_writev_blocks instead of spdk_bdev_writev 2019-02-20 20:17:56 +00:00
sock test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
thread test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
util ut/dif: Fill test data buffer by cyclic values to find potential issues 2019-02-22 17:52:51 +00:00
vhost test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +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