The PCI test was failing because some fake devices had no PCI class. Fixes: 1dbba1650c89 ("app/test: remove real PCI ids")
Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com> --- app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class | 1 + app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class | 1 + 2 files changed, 2 insertions(+) create mode 100644 app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class create mode 100644 app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class b/app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class new file mode 100644 index 0000000..22dd936 --- /dev/null +++ b/app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class @@ -0,0 +1 @@ +0x100000 diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class b/app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class new file mode 100644 index 0000000..22dd936 --- /dev/null +++ b/app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class @@ -0,0 +1 @@ +0x100000 -- 2.7.0