Spdk/test
Tomasz Zawadzki dae8e89253 test/ut: initialize spdk_bdev_desc to NULL
This fixes error on scan-build on Fedora 30, which assumes spdk_bdev_open()
is called from non-SPDK thread - failing before allocating spdk_bdev_desc:

bdev_ut.c:1766:17: warning: The left operand of '!=' is a garbage value
        CU_ASSERT(desc != NULL);

This is related to issue #822.

Change-Id: I8ee2112bb4d71aafc93d63bddca083c009ec11f3
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/459755
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-07-04 00:26:17 +00:00
..
app app/bdev_svc: Optional VMD enumeration 2019-07-01 03:53:06 +00:00
bdev test/bdevio: Optional VMD enumeration 2019-07-01 03:53:06 +00:00
blobfs test/blobfs/mkfs: Optional VMD enumeration 2019-07-01 03:53:06 +00:00
blobstore test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
common test/vm_setup: install VPP 19.01.1 2019-06-27 08:23:08 +00:00
config_converter iscsi: Deprecate MinConnectionsPerCore 2019-05-06 17:10:48 +00:00
cpp_headers Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
env test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
event notify: add notification library 2019-03-29 21:15:14 +00:00
ftl lib/ftl: Expand restore tests 2019-06-26 07:09:00 +00:00
ioat test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
iscsi_tgt iscsi/test: destruct all malloc devices by one time 2019-06-28 05:28:09 +00:00
json_config test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
lvol test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
nvme test: fix the nvme reset test time 2019-06-26 08:39:14 +00:00
nvmf test/nvmf: Add one NVMe-oF perf test for Big I/O 2019-07-03 04:30:28 +00:00
ocf test/ocf: disable persistent metadata test 2019-06-11 18:16:55 +00:00
pmem test/pmem: cleanup common.sh 2019-06-19 03:54:58 +00:00
rpc_client test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
spdkcli test/spdkcli: cleanup common.sh 2019-06-19 03:54:58 +00:00
unit test/ut: initialize spdk_bdev_desc to NULL 2019-07-04 00:26:17 +00:00
vhost test/vhost: Export default VM_IMAGE from common.sh 2019-07-03 04:15:18 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00