]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: add lscpu dump for ppc cpu with no cache size
authorRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 27 Mar 2014 10:19:37 +0000 (11:19 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 27 Mar 2014 10:30:15 +0000 (11:30 +0100)
Taken from qemu-system-ppc (qemu 1.7) machine with installed
debian 7.4 wheezy, kernel 3.2.0-4-powerpc.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
tests/expected/lscpu/lscpu-ppc-qemu [new file with mode: 0644]
tests/ts/lscpu/dumps/ppc-qemu.tar.gz [new file with mode: 0644]

diff --git a/tests/expected/lscpu/lscpu-ppc-qemu b/tests/expected/lscpu/lscpu-ppc-qemu
new file mode 100644 (file)
index 0000000..b3ea4a7
--- /dev/null
@@ -0,0 +1,15 @@
+CPU(s):                1
+On-line CPU(s) list:   0
+Thread(s) per core:    1
+Core(s) per socket:    1
+Socket(s):             1
+Model:                 Power Macintosh
+BogoMIPS:              33.25
+L1d cache:             unknown size
+L1i cache:             unknown size
+
+# 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,,L1d,L1i
+0,0,0,,,0,0
diff --git a/tests/ts/lscpu/dumps/ppc-qemu.tar.gz b/tests/ts/lscpu/dumps/ppc-qemu.tar.gz
new file mode 100644 (file)
index 0000000..a428271
Binary files /dev/null and b/tests/ts/lscpu/dumps/ppc-qemu.tar.gz differ