From ae80e59ff7969f8e6cd08fb8c04e7d124d4c1398 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Fri, 24 Jun 2016 14:24:55 +0200 Subject: [PATCH] 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 --- 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 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 -- 2.20.1