From: Thomas Monjalon Date: Fri, 24 Jun 2016 12:24:55 +0000 (+0200) Subject: app/test: fix PCI class probing X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ae80e59ff7969f8e6cd08fb8c04e7d124d4c1398;p=dpdk.git app/test: fix PCI class probing 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 --- 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 0000000000..22dd9361aa --- /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 0000000000..22dd9361aa --- /dev/null +++ b/app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class @@ -0,0 +1 @@ +0x100000