mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-24 15:58:08 +00:00
Fix uefi test on Windows
This commit is contained in:
parent
0a14a08d54
commit
f541c03b94
@ -401,7 +401,7 @@ async def test_uefi_boot_mode_option(vm, tmpdir, images_dir, fake_qemu_img_binar
|
|||||||
f.write('1')
|
f.write('1')
|
||||||
|
|
||||||
options = await vm._build_command()
|
options = await vm._build_command()
|
||||||
assert ' '.join(["-drive", "if=pflash,format=raw,readonly,file={}".format(ovmf_code_path)]) in ' '.join(options)
|
assert ' '.join(["-drive", "if=pflash,format=raw,readonly,file={}".format(os.path.normpath(ovmf_code_path))]) in ' '.join(options)
|
||||||
assert ' '.join(["-drive", "if=pflash,format=raw,file={}".format(os.path.join(vm.working_dir, "OVMF_VARS.fd"))]) in ' '.join(options)
|
assert ' '.join(["-drive", "if=pflash,format=raw,file={}".format(os.path.join(vm.working_dir, "OVMF_VARS.fd"))]) in ' '.join(options)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user