numam-spdk/test
Seth Howell eda1ec6932 vhost: fix vm_wait_for_boot arg check.
This was changed recently to enable a shell coding style checker, but $*
does not represent the number of arguments supplied to the function,
rather it is an alternative version of $@ that stores all arguments in a
single string. So we should be checking against an empty string and not
0.

By checking against 0, every time we passed 0 into vm_wait_for_boot, we
tried booting every vm in that directory. This causes errors on nightly
tests and intermittent failures during per-patch testing.

Change-Id: I1850ea73ea59fdc244de1a91e4c6de1b4505e518
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470087
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-10-03 20:12:57 +00:00
..
app RPC: rename start_subsystem_init to framework_start_init 2019-09-30 21:13:41 +00:00
bdev bdevperf: Use zcopy APIs for write I/O with verify or reset cases 2019-09-20 20:24:24 +00:00
blobfs test: remove test plan .md files 2019-09-10 22:57:04 +00:00
blobstore RPC: rename get_bdev_histogram to bdev_get_histogram 2019-09-13 22:39:15 +00:00
common test: don't create Python .pyc files 2019-10-01 14:49:02 +00:00
compress test/compress: Use gen_nvme.sh to create NVMe device 2019-09-27 14:57:20 +00:00
config_converter RPC: rename set_nvmf_target_config to nvmf_set_config 2019-09-26 15:19:43 +00:00
cpp_headers Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
env env: add spdk_pci_device_unclaim() 2019-09-18 20:34:39 +00:00
event notify: add notification library 2019-03-29 21:15:14 +00:00
ftl rpc: Rename stop_nbd_disk to nbd_stop_disk 2019-09-19 20:56:35 +00:00
fuzz RPC: rename start_subsystem_init to framework_start_init 2019-09-30 21:13:41 +00:00
ioat test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
iscsi_tgt test: Shellcheck - correct rule: "Can't use =~ in [ ]" 2019-10-01 14:03:34 +00:00
json_config rpc: Rename delete_target_node to iscsi_delete_target_node 2019-10-01 14:00:30 +00:00
lvol rpc: Rename stop_nbd_disk to nbd_stop_disk 2019-09-19 20:56:35 +00:00
make test/make: add ignored libs to check_so_deps.sh 2019-09-09 22:15:24 +00:00
nvme test/nvme: ignore ssh known_hosts when connecting to hotplug VM 2019-09-25 21:50:26 +00:00
nvmf RPC: rename get_subsystem_config to framework_get_config 2019-10-01 13:57:36 +00:00
ocf test/ocf/management/multicore: change in test to prevent failure 2019-09-27 15:27:55 +00:00
openstack RPC: rename rpc get_bdevs to bdev_get_bdevs 2019-09-13 22:39:15 +00:00
pmem RPC: rename rpc get_bdevs to bdev_get_bdevs 2019-09-13 22:39:15 +00:00
rpc_client jsonrpc: tolerate null json value for parameters in json-rpc call 2019-07-26 19:30:57 +00:00
spdkcli lib/bdev: zoned info in get_bdevs RPC call 2019-10-02 21:13:16 +00:00
unit ut/nvmf/fc: Fix FC unit test build with RDMA 2019-10-02 22:30:29 +00:00
vhost vhost: fix vm_wait_for_boot arg check. 2019-10-03 20:12:57 +00:00
vmd RPC: rename start_subsystem_init to framework_start_init 2019-09-30 21:13:41 +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