Spdk/test/unit/lib/scsi
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
..
dev.c scsi: validate dev name length 2018-04-10 15:43:03 -04:00
lun.c bdev: change spdk_bdev_free_io return type to void 2018-06-19 07:28:20 +00:00
scsi_bdev.c scsi/ut: initialize task with invalid values to assert change later 2018-07-03 17:45:37 +00:00
scsi.c scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
Makefile test: move SCSI library unit tests to test/unit 2017-06-20 13:46:07 -04:00