From be259653f3f1713426ddea9436bffe998b54ae78 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Fri, 6 Jul 2007 16:12:07 +0100 Subject: Extended the physinfo sysctl to export NUMA cpu_to_node topology info. Print this in 'xm info'. Signed-off-by: Ryan Harper Signed-off-by: Keir Fraser --- tools/xm-test/tests/info/02_info_compiledata_pos.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tools/xm-test') diff --git a/tools/xm-test/tests/info/02_info_compiledata_pos.py b/tools/xm-test/tests/info/02_info_compiledata_pos.py index 189fce17cb..9430ecf62f 100644 --- a/tools/xm-test/tests/info/02_info_compiledata_pos.py +++ b/tools/xm-test/tests/info/02_info_compiledata_pos.py @@ -18,9 +18,7 @@ map = {} for line in lines: pieces = line.split(" : ", 1) - if len(pieces) < 2: - FAIL("Found invalid line: [%s]" % line) - else: + if len(pieces) > 1: map[pieces[0]] = pieces[1] for field in ["cores_per_socket", "threads_per_core", "cpu_mhz", -- cgit v1.2.3