]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lscpu: add s390 kvm test case
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 10 Oct 2011 08:59:42 +0000 (10:59 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 11 Oct 2011 09:36:06 +0000 (11:36 +0200)
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
tests/expected/lscpu/lscpu-s390-kvm [new file with mode: 0644]
tests/ts/lscpu/dumps/s390-kvm.tar.gz [new file with mode: 0644]

diff --git a/tests/expected/lscpu/lscpu-s390-kvm b/tests/expected/lscpu/lscpu-s390-kvm
new file mode 100644 (file)
index 0000000..1aa42f9
--- /dev/null
@@ -0,0 +1,21 @@
+CPU op-mode(s):        32-bit, 64-bit
+CPU(s):                3
+On-line CPU(s) list:   0-2
+Thread(s) per core:    1
+Core(s) per socket:    1
+Socket(s) per book:    1
+Book(s):               3
+Vendor ID:             IBM/S390
+BogoMIPS:              14367.00
+Hypervisor:            KVM/Linux
+Hypervisor vendor:     KVM
+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,
diff --git a/tests/ts/lscpu/dumps/s390-kvm.tar.gz b/tests/ts/lscpu/dumps/s390-kvm.tar.gz
new file mode 100644 (file)
index 0000000..340f7ea
Binary files /dev/null and b/tests/ts/lscpu/dumps/s390-kvm.tar.gz differ