Spdk/test
Daniel Verkamp 2c28fa5426 test/json_util_ut: assert that string is valid
Make sure the output.my_name pointer is not NULL before calling memcmp()
on it.  Fixes static analysis warning about a potential NULL pointer
dereference.

Change-Id: I85faf57c63b0760c4f90d9ee99f6d7e3df121211
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/369264
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-07-12 18:13:23 -04:00
..
app test/app/stub: remove sentinel file on shutdown 2017-06-23 11:02:04 -04:00
blobfs/rocksdb Revert "test/blobfs: use test stub" 2017-06-27 13:52:15 -04:00
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt blockdev, nvme: Test parsing device exported by NVMe-oF in conf 2017-07-07 13:23:24 -04:00
lib bdev/gpt: dump partition name 2017-07-12 18:12:52 -04:00
nvmf log: Remove configurable log facility 2017-07-05 19:28:29 -04:00
unit test/json_util_ut: assert that string is valid 2017-07-12 18:13:23 -04:00
vhost test/vhost: Modify wait time for vhost start in fiotest 2017-07-11 17:27:30 -04:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00