test/scsi/lun: Verify lun is not NULL
Change-Id: I9bedc80ffb1b82f198b88f40012520062fd2d54a Signed-off-by: Ziye Yang <ziye.yang@intel.com>
This commit is contained in:
parent
1a1a8e89a9
commit
774a544bd4
@ -635,7 +635,7 @@ lun_construct_same_same_twice(void)
|
||||
lun = spdk_scsi_lun_construct("lun0", &bdev);
|
||||
|
||||
/* Successfully constructs and returns lun */
|
||||
CU_ASSERT(lun != NULL);
|
||||
SPDK_CU_ASSERT_FATAL(lun != NULL);
|
||||
|
||||
lun2 = spdk_scsi_lun_construct("lun0", &bdev2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user