]> git.proxmox.com Git - grub2.git/blobdiff - tests/uhci_test.in
tests: Fix qemu options for UHCI test
[grub2.git] / tests / uhci_test.in
index 4af72fd8fea5ab2b3e2059d2a89f0b0dfaa74c9a..f0eec50328840881f6b1b50bf376584a083ca770 100644 (file)
@@ -41,7 +41,7 @@ echo "hello" > "$outfile"
 
 tar cf "$imgfile" "$outfile"
 
-if [ "$(echo "nativedisk; source '(usb0)/$outfile';" | "${grubshell}" --qemu-opts="-usb -usbdevice disk:$imgfile" | tail -n 1)" != "Hello World" ]; then
+if [ "$(echo "nativedisk; source '(usb0)/$outfile';" | "${grubshell}" --qemu-opts="-device ich9-usb-uhci1 -drive id=my_usb_disk,file=$imgfile,if=none -device usb-storage,drive=my_usb_disk" | tail -n 1)" != "Hello World" ]; then
    rm "$imgfile"
    rm "$outfile"
    exit 1