summaryrefslogtreecommitdiffstats
path: root/tests/expected/lscpu
diff options
context:
space:
mode:
authorHeiko Carstens2011-09-06 02:53:01 +0200
committerKarel Zak2011-09-09 23:50:55 +0200
commit603e7f10f11d759290ac95a8312b537a5e73a8ab (patch)
tree639087e4126b16de9e2a0e02e1a2c89df182df42 /tests/expected/lscpu
parentlscpu: add --online option (diff)
downloadkernel-qcow2-util-linux-603e7f10f11d759290ac95a8312b537a5e73a8ab.tar.gz
kernel-qcow2-util-linux-603e7f10f11d759290ac95a8312b537a5e73a8ab.tar.xz
kernel-qcow2-util-linux-603e7f10f11d759290ac95a8312b537a5e73a8ab.zip
lscpu: add s390 test case
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'tests/expected/lscpu')
-rw-r--r--tests/expected/lscpu/lscpu-s390-lpar35
-rw-r--r--tests/expected/lscpu/lscpu-s390-zvm21
2 files changed, 56 insertions, 0 deletions
diff --git a/tests/expected/lscpu/lscpu-s390-lpar b/tests/expected/lscpu/lscpu-s390-lpar
new file mode 100644
index 000000000..600fd3f09
--- /dev/null
+++ b/tests/expected/lscpu/lscpu-s390-lpar
@@ -0,0 +1,35 @@
+CPU op-mode(s): 32-bit, 64-bit
+CPU(s): 20
+On-line CPU(s) list: 1-5,8-19
+Off-line CPU(s) list: 0,6,7
+Thread(s) per core: 1
+Core(s) per socket: 4
+Socket(s) per book: 6
+Book(s): 4
+Vendor ID: IBM/S390
+BogoMIPS: 14367.00
+Hypervisor vendor: IBM
+Virtualization type: full
+Dispatching mode: vertical
+
+# The following is the parsable format, which can be fed to other
+# programs. Each different item in every column has an unique ID
+# starting from zero.
+# CPU,Core,Socket,Node
+1,0,0,
+2,1,0,
+3,2,1,
+4,3,1,
+5,4,1,
+8,5,2,
+9,6,2,
+10,7,2,
+11,8,3,
+12,9,3,
+13,10,3,
+14,11,3,
+15,12,4,
+16,13,5,
+17,14,5,
+18,15,5,
+19,16,6,
diff --git a/tests/expected/lscpu/lscpu-s390-zvm b/tests/expected/lscpu/lscpu-s390-zvm
new file mode 100644
index 000000000..9ce22d49b
--- /dev/null
+++ b/tests/expected/lscpu/lscpu-s390-zvm
@@ -0,0 +1,21 @@
+CPU op-mode(s): 32-bit, 64-bit
+CPU(s): 4
+On-line CPU(s) list: 0-3
+Thread(s) per core: 1
+Core(s) per socket: 1
+Socket(s) per book: 1
+Book(s): 4
+Vendor ID: IBM/S390
+BogoMIPS: 14367.00
+Hypervisor vendor: IBM
+Virtualization type: full
+Dispatching mode: horizontal
+
+# The following is the parsable format, which can be fed to other
+# programs. Each different item in every column has an unique ID
+# starting from zero.
+# CPU,Core,Socket,Node
+0,0,0,
+1,1,1,
+2,2,2,
+3,3,3,