tests/functional/ppc64: extend ppc64 powernv net device tests

Added console checks as the probe log lines will appear before the
S14Silence-console init scripts.

Signed-off-by: Aniket Sahu <asahu1x@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com>
Reviewed-by: Aditya Gupta <adityag@linux.ibm.com>
Link: https://lore.kernel.org/qemu-devel/20260921081010.31778-3-asahu1x@linux.ibm.com
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
This commit is contained in:
Aniket Sahu
2026-09-21 13:40:10 +05:30
committed by Harsh Prateek Bora
parent 9eb5eb4d97
commit b71c5a9613

View File

@@ -201,9 +201,12 @@ class PowernvMachine(LinuxKernelTest):
self.wait_for_console_pattern("CPU: " + proc + " generation processor")
self.wait_for_console_pattern("INIT: Starting kernel at ")
# NVMe, e1000e, and xHCI are probed synchronously by the kernel
# during PCI enumeration, after OPAL hands off to Linux.
self.wait_for_console_pattern("nvme nvme0")
self.wait_for_console_pattern("e1000e")
self.wait_for_console_pattern("xhci_hcd")
self.wait_for_console_pattern("Run /sbin/init as init process")
# Device detection output driven by udev probing is sometimes cut off
# from console output, suspect S14silence-console init script.
def test_ppc64_powernv_external_dtb(self):
self.set_machine('powernv11')