From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BDE8143B9D; Fri, 23 Feb 2024 09:30:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 413724068A; Fri, 23 Feb 2024 09:30:06 +0100 (CET) Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) by mails.dpdk.org (Postfix) with ESMTP id 62B32402ED for ; Fri, 23 Feb 2024 09:30:03 +0100 (CET) Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-565468bec51so1096305a12.1 for ; Fri, 23 Feb 2024 00:30:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1708677003; x=1709281803; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=fFIdD8M6RrezYqk6n2pN3Ngt2fQv0bpVZP/2QTXxU4I=; b=JlkpouSZZ2K7ik3xyhyFBNwifVAXCF8Aq584XWKuIXsZUlCXcomq0zkRkshwEd4Ihz 4so+ejow51+6FQYL0v0cxhv//bYSPNQoNHLF6mQsehLxAzNhIY31jnWREClTkKk9DV0Q xW6m05eZlypewpoPSpLvaYxN8NzphRORwL0TOnCCKIYbLqEfdgpxmOFnm1cxB7YHCFZ+ 8ttEiqA5oxWBJKA83xQTrYTLloLZ+snsSCTn7DlBmsxb/j6et7c5Hx5wbWKsP8hg1SoT HvoB8XzfNz0J1fJlO0xhgtiifLkTz7rQm92ynolmhzVwkUYlIblmlv8nLTZsv3YpCRMr 4eiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708677003; x=1709281803; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fFIdD8M6RrezYqk6n2pN3Ngt2fQv0bpVZP/2QTXxU4I=; b=bQxzxiUHSNTQOY/Ri6AhQSdroSOlHiQm00AiZi9ba91fRlV1YEsxXA5dZLZ5Qydjr2 X716bxy+/29HDJTQpYzqayfO/0zpJ7IoaW4o3T5jeFDSJi2BL8Y9RVdC+Mpog1iIEoI4 Vr34O8itAiSMZw7lDMmfz0zZeurIiKkP5TSBmP9mnJuVqCteSrYdBdi7L0TYQKV6mYZn MukYRYMyHmKOF7aM+Yxdng5+wcepZsYNZnTLJNJofus1lwi8FhZK4t1bkBdhYCdA/EWl neOxt+90oJJM2v4dJNdwAHlJwSS8smCaUaQDf0gaMjTIGqhiWXKCG/Il3ZBrqH8b1AQv 8dTQ== X-Gm-Message-State: AOJu0YzWejuEnzKbEZzev4FHK57X4EJ3rPNIMvyZXDIZdR4oFt9TJjvo bltFxIYLQ6JdKagXqNahSzUzO6UAKLHLGts4Ri3K/aY31MMUL+f6Sd27fchWi+A= X-Google-Smtp-Source: AGHT+IH5HGfLQerVy9eU6P3CgOnZhoB2+8gRkqAeYBrMY6sX1sQJVY4r//17ECrAC1YgifDtI78qKw== X-Received: by 2002:a05:6402:336:b0:561:33dd:621c with SMTP id q22-20020a056402033600b0056133dd621cmr1104441edw.7.1708677003169; Fri, 23 Feb 2024 00:30:03 -0800 (PST) Received: from localhost.localdomain ([84.245.120.62]) by smtp.gmail.com with ESMTPSA id ef3-20020a05640228c300b005640022af58sm6215338edb.83.2024.02.23.00.30.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 00:30:02 -0800 (PST) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: thomas@monjalon.net, Honnappa.Nagarahalli@arm.com, jspewock@iol.unh.edu, probb@iol.unh.edu, paul.szczepanek@arm.com, Luca.Vizzarro@arm.com Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Subject: [PATCH v1] dts: fix smoke tests driver regex Date: Fri, 23 Feb 2024 09:30:01 +0100 Message-Id: <20240223083001.63167-1-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Add hyphen to the regex, which is needed for drivers such as vfio-pci. Fixes: 88489c0501af ("dts: add smoke tests") Cc: jspewock@iol.unh.edu Signed-off-by: Juraj Linkeš --- dts/tests/TestSuite_smoke_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/tests/TestSuite_smoke_tests.py b/dts/tests/TestSuite_smoke_tests.py index 5e2bac14bd..1be5c3047e 100644 --- a/dts/tests/TestSuite_smoke_tests.py +++ b/dts/tests/TestSuite_smoke_tests.py @@ -130,7 +130,7 @@ def test_device_bound_to_driver(self) -> None: # with the address for the nic we are on in the loop and then captures the # name of the driver in a group devbind_info_for_nic = re.search( - f"{nic.pci}[^\\n]*drv=([\\d\\w]*) [^\\n]*", + f"{nic.pci}[^\\n]*drv=([\\d\\w-]*) [^\\n]*", all_nics_in_dpdk_devbind, ) self.verify( -- 2.34.1