From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 79025C470 for ; Fri, 24 Jun 2016 14:34:38 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id f126so20772646wma.1 for ; Fri, 24 Jun 2016 05:34:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=DqwjjTu9YB6T+CIRecH+1qafZyFBy4iDfzv5ri4Zr7U=; b=ocxSIiqwUjsyX+Z/VhUhg/x2PS+Ac4yhrUYkOqmOQmaCV/5u4SN26zrdIdv4a7voMS I/jeq3xG8Ox8/5EosEGGn3oI8fbXHjV5YlzuTE21dBLzz4rHjZ801z8J6rpykVMBchQZ FYyse14ZJgj+UbBIxIUt5Q1ll/QQ7AuzFEqGZKxVWs3UHj5A7JZ0il+pfTm4v+7E/23Y eFOHJK5M0/k8oj6JW++S1gR+CLA7dGf42qV1/pd53KDnqsP28+Yrum87cIxDsQxYLd/G 124pK6LkWOyAgG9KBZXOhzKbSnKvbklJvys96kZxy7aObk6dBCE39f1X/4Mc10kxUjWq wITQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=DqwjjTu9YB6T+CIRecH+1qafZyFBy4iDfzv5ri4Zr7U=; b=UBDEmnVeHqRk+CeSoIs13oEQnO3V+gqTkNPKGxhBR/fiqeBTaDiJDE8ufbwmGf6qKH KRxxiS9F2mPfRKiIsSb4gE9Ul1KL/o+dZUjn1HSCnLrH0WR3oE46L49Nab1E3Gw1Vlqo 0NpIeRcmulpDbAOIpbb0hyc7p2kaQ8ppWtu/sRlU/tTN1MHPAXsvFSVjYYD7Z8gkICVY Q7DeJ9ddYqJ0OxOBS9/2jLlaPaGsnopbjuCU2Ub+hWaK4Af4dZadeWN5y6f8bIT373NM RPtAz1LemjVYWnljTucg3PAaHj52laCCXZtIiOKXUZlZDcVWNGVjENzRhxiMtQuPGtlu Xoag== X-Gm-Message-State: ALyK8tKezTzzapcVqRzpMKkOCzoJWJGu0wlMCtPv7lxRnaMnlN0Q+/yB4wsa4tn2wuwjhFwO X-Received: by 10.28.43.129 with SMTP id r123mr17876613wmr.99.1466771678089; Fri, 24 Jun 2016 05:34:38 -0700 (PDT) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id bf5sm4975276wjc.12.2016.06.24.05.34.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Jun 2016 05:34:37 -0700 (PDT) From: Thomas Monjalon To: Jan Viktorin Cc: dev@dpdk.org Date: Fri, 24 Jun 2016 14:34:31 +0200 Message-Id: <1466771671-8779-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] app/test: fix PCI class probing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2016 12:34:38 -0000 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 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