test/blockdev.sh: filter out partitions in nbd test
Change-Id: Iaa85545c12f72939b8aa23147a7151d6849d9be1 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/400192 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Tested-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
7ee8684c84
commit
a66e4300c7
@ -25,7 +25,7 @@ function nbd_function_test() {
|
||||
local rpc_server=/var/tmp/spdk-nbd.sock
|
||||
local conf=$1
|
||||
local nbd_num=6
|
||||
local nbd_all=(`ls /dev/nbd*`)
|
||||
local nbd_all=(`ls /dev/nbd* | grep -v p`)
|
||||
local bdev_all=($bdevs_name)
|
||||
local nbd_list=(${nbd_all[@]:0:$nbd_num})
|
||||
local bdev_list=(${bdev_all[@]:0:$nbd_num})
|
||||
|
Loading…
Reference in New Issue
Block a user