From d3e367a5f1010c84a65e951009cc538a1daa80e5 Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Thu, 21 May 2020 09:43:44 +0200 Subject: [PATCH] test/vhost/common.sh: make fio bin variable local Make the variable local, so that we don't unnecessarily read it's value from base script in case it's defined. Signed-off-by: Karol Latecki Change-Id: Ib4d95d3c67cfa8918c67f0b2642e9a3fe2ca3260 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2558 Tested-by: SPDK CI Jenkins Community-CI: Mellanox Build Bot Reviewed-by: Darek Stojaczyk Reviewed-by: Changpeng Liu --- test/vhost/common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/vhost/common.sh b/test/vhost/common.sh index fce3a37b6..55b6675a6 100644 --- a/test/vhost/common.sh +++ b/test/vhost/common.sh @@ -931,6 +931,7 @@ function vm_wait_for_boot() { function vm_start_fio_server() { local OPTIND optchar local readonly='' + local fio_bin='' while getopts ':-:' optchar; do case "$optchar" in -)