aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-07-06 16:12:07 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-07-06 16:12:07 +0100
commitbe259653f3f1713426ddea9436bffe998b54ae78 (patch)
treeb5b6c1867d9e9b04d0ecb13655ea41dcb6ecf68f /tools/xm-test
parent8d374ca1d1c9c2c454503d70bbc66fd8f219f71f (diff)
downloadxen-be259653f3f1713426ddea9436bffe998b54ae78.tar.gz
xen-be259653f3f1713426ddea9436bffe998b54ae78.tar.bz2
xen-be259653f3f1713426ddea9436bffe998b54ae78.zip
Extended the physinfo sysctl to export NUMA cpu_to_node topology info.
Print this in 'xm info'. Signed-off-by: Ryan Harper <ryanh@us.ibm.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/xm-test')
-rw-r--r--tools/xm-test/tests/info/02_info_compiledata_pos.py4
1 files changed, 1 insertions, 3 deletions
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",