Spdk/test/common
WANGHAILIANG 8f0e8ff149 test/nvme: fix a multiple bdf error
If there are two or more Nvme SSDs in system, $bdf includes many bdfs.
Function get_first_nvme_bdf() have no effect on local phy servers.
nvme_rpc.sh will report error as below.

 09:16:06       # /home//spdk/scripts/rpc.py bdev_nvme_attach_controller -b Nvme0 -t PCIe -a 0000:03:00.0 0000:04:00.0
usage: rpc.py [options]
rpc.py: error: unrecognized arguments: 0000:04:00.0

Change-Id: I91be02b874fcc4ee4626c082b16d06e722797744
Signed-off-by: WANGHAILIANG <hailiangx.e.wang@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2715
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-06-08 09:34:58 +00:00
..
config rxe_cfg: Drop librxe and port minimal rxe_cfg functionality to Bash 2020-06-05 09:02:27 +00:00
lib lib/nvme: remove spdk prefix from internal headers. 2020-06-01 13:07:30 +00:00
applications.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
autotest_common.sh test/nvme: fix a multiple bdf error 2020-06-08 09:34:58 +00:00
skipped_build_files.txt test/nvme: dynamic nvme cuse devices update test 2020-06-05 09:01:44 +00:00
skipped_tests.txt test/iscsi: add application for target fuzz testing. 2020-03-13 08:53:46 +00:00