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:
Ziye Yang 2017-03-23 13:50:29 +08:00 committed by Daniel Verkamp
parent 1a1a8e89a9
commit 774a544bd4

View File

@ -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);