From 04bf7e8660658a873753783532eb64d6af892472 Mon Sep 17 00:00:00 2001 From: Peixiu Hou Date: Thu, 22 Feb 2024 15:54:23 +0800 Subject: [PATCH] fio_windows: Update new check method for fio install The original judge condition does not so accurate, change it more accurate here. Signed-off-by: Peixiu Hou --- qemu/tests/fio_windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/tests/fio_windows.py b/qemu/tests/fio_windows.py index ebb7a1c4666..4d1ffecf9a3 100644 --- a/qemu/tests/fio_windows.py +++ b/qemu/tests/fio_windows.py @@ -25,7 +25,7 @@ def run(test, params, env): fio_cmd = params.get("fio_cmd") timeout = float(params.get("login_timeout", 360)) cmd_timeout = int(params.get("cmd_timeout", "360")) - check_installed_cmd = 'dir "%s"|findstr /I fio' % install_path + check_installed_cmd = 'dir "%s/fio"|findstr /I fio.exe' % install_path check_installed_cmd = params.get("check_installed_cmd", check_installed_cmd)