Skip to content

Commit

Permalink
fio_windows: Update new check method for fio install
Browse files Browse the repository at this point in the history
The original judge condition does not so accurate,
change it more accurate here.

Signed-off-by: Peixiu Hou <phou@redhat.com>
  • Loading branch information
peixiu committed Feb 22, 2024
1 parent fef9d14 commit 04bf7e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qemu/tests/fio_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 04bf7e8

Please sign in to comment.