From 1063a0ff81da785ebb035a58c1c7f5e42e7192aa Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 1 Jan 2014 15:49:55 +0000 Subject: [PATCH] aarch64: Fix sysinfo test. On AArch64 the kernel prints one "processor" (lower case 'p') line per core. As this was missing from the test data, virSysinfo was not parsing any processors at all. Fix the test data so the test now passes. --- tests/sysinfodata/aarch64cpuinfo.data | 1 + tests/sysinfodata/aarch64sysinfo.expect | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/sysinfodata/aarch64cpuinfo.data b/tests/sysinfodata/aarch64cpuinfo.data index 0d63139357..fbab543ecb 100644 --- a/tests/sysinfodata/aarch64cpuinfo.data +++ b/tests/sysinfodata/aarch64cpuinfo.data @@ -1,4 +1,5 @@ Processor : AArch64 Processor rev 0 (aarch64) +processor : 0 BogoMIPS : 100.00 Features : fp asimd diff --git a/tests/sysinfodata/aarch64sysinfo.expect b/tests/sysinfodata/aarch64sysinfo.expect index 518434d771..2cb8932534 100644 --- a/tests/sysinfodata/aarch64sysinfo.expect +++ b/tests/sysinfodata/aarch64sysinfo.expect @@ -1,10 +1,6 @@ 0 - AArch64 Processor rev 0 (aarch64) - - - 1 AArch64 Processor rev 0 (aarch64) -- GitLab