diff --git a/test/vhost/common.sh b/test/vhost/common.sh index 55b6675a6..b7b475ae6 100644 --- a/test/vhost/common.sh +++ b/test/vhost/common.sh @@ -1066,6 +1066,10 @@ function run_fio() { return 1 fi + if [[ -z "$fio_bin" ]]; then + fio_bin="fio" + fi + if [[ ! -r "$job_file" ]]; then error "Fio job '$job_file' does not exist" return 1 @@ -1121,6 +1125,7 @@ function run_fio() { fi $fio_start_cmd + sleep 1 if [[ ! $hide_results ]]; then cat $out/$log_fname diff --git a/test/vhost/perf_bench/vhost_perf.sh b/test/vhost/perf_bench/vhost_perf.sh index e03197e5a..9c9b50181 100755 --- a/test/vhost/perf_bench/vhost_perf.sh +++ b/test/vhost/perf_bench/vhost_perf.sh @@ -23,7 +23,6 @@ split_bdevs=() used_vms="" wwpn_prefix="naa.5001405bc6498" -fio_bin="--fio-bin=/home/sys_sgsw/fio_ubuntu" fio_iterations=1 precond_fio_bin=$CONFIG_FIO_SOURCE_DIR/fio disk_map=""