]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: drop the explicit bus assignment for the pci-bridge
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 1 Oct 2022 18:56:01 +0000 (20:56 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 1 Oct 2022 22:09:54 +0000 (00:09 +0200)
as it doesn't work with the Q35 chipset due to a different topology.
Auto-assignment seems to work with both Q35 and i440FX chipsets.

test/TEST-64-UDEV-STORAGE/test.sh

index 26d729449871534622eac76e35cb469b33d2ce60..f662d4dafb64c899d0348927b02b722b0e99aa01 100755 (executable)
@@ -420,7 +420,7 @@ testcase_long_sysfs_path() {
     local testdisk="${TESTDIR:?}/longsysfspath.img"
     local qemu_opts=(
         "-drive if=none,id=drive0,format=raw,cache=unsafe,file=$testdisk"
-        "-device pci-bridge,id=pci_bridge0,bus=pci.0,chassis_nr=64"
+        "-device pci-bridge,id=pci_bridge0,chassis_nr=64"
     )
 
     dd if=/dev/zero of="$testdisk" bs=1M count=64