test/blockdev.sh: parameterize hello_world test
Just to make sure that we always test against a valid bdev. Change-Id: I7c9786f32b8d5ff5f2bf9c86151fb7f2bdfdf5f3 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478245 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com>
This commit is contained in:
parent
d4e52cacfd
commit
b2235c1f97
@ -288,10 +288,12 @@ bdevs=$(discover_bdevs $rootdir $conf_file | jq -r '.[] | select(.claimed == fal
|
||||
timing_exit bdev_svc
|
||||
|
||||
bdevs_name=$(echo $bdevs | jq -r '.name')
|
||||
bdev_list=($bdevs_name)
|
||||
hello_world_bdev=${bdev_list[0]}
|
||||
# End bdev configuration
|
||||
#-----------------------------------------------------
|
||||
|
||||
run_test "bdev_hello_world" $rootdir/examples/bdev/hello_world/hello_bdev -c $conf_file -b Malloc0
|
||||
run_test "bdev_hello_world" $rootdir/examples/bdev/hello_world/hello_bdev -c $conf_file -b $hello_world_bdev
|
||||
run_test "bdev_bounds" bdev_bounds
|
||||
run_test "bdev_nbd" nbd_function_test $conf_file "$bdevs_name"
|
||||
if [ -d /usr/src/fio ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user