Spdk/test/unit/lib
Tomasz Zawadzki 97154b1f82 scsi/ut: initialize task with invalid values to assert change later
Originally task was memset to 0, meaning that some asserts might have
incorrectly asserted values that were set to 0 beforehand.

Now ut_init_task() sets task to 0xFF, with only couple required fields set to
appropriate values.

Change-Id: I47fbb03daf6ab7cbf60abc58f63315a151e49890
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/417686
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-07-03 17:45:37 +00:00
..
bdev test: Move poller test to the thread unit test 2018-07-02 19:12:45 +00:00
blob blobstore: blob_operation_split_rw unit tests 2018-07-02 23:22:32 +00:00
blobfs thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
event subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
ioat ut/ioat: drop legacy mocks 2018-07-03 16:29:42 +00:00
iscsi build: add -lcrypto (OpenSSL) to SYS_LIBS 2018-06-20 20:16:31 +00:00
json json: Add spdk_json_decode_uint16 2018-06-05 21:30:02 +00:00
jsonrpc jsonrpc: allow send_buf to grow as needed 2018-02-15 11:03:54 -05:00
log rpc.py: remove references of "debug" trace flag 2018-04-25 17:31:28 +00:00
lvol blobstore: add decouple parent function 2018-06-21 22:50:03 +00:00
nvme ocssd: vector commands 2018-06-22 21:34:49 +00:00
nvmf nvmf: Keep a list of qpairs per poll group 2018-06-20 22:07:24 +00:00
scsi scsi/ut: initialize task with invalid values to assert change later 2018-07-03 17:45:37 +00:00
sock net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00
thread test: Move poller test to the thread unit test 2018-07-02 19:12:45 +00:00
util thread: Move threading abstraction code out of util 2018-06-12 15:24:07 +00:00
vhost test: Mock spdk_ring operations in test_env.c 2018-07-02 19:12:45 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00