]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: add sparc64 lscpu test
authorKarel Zak <kzak@redhat.com>
Tue, 5 Nov 2013 11:49:20 +0000 (12:49 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 5 Nov 2013 11:49:20 +0000 (12:49 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/lscpu/lscpu-sparc64 [new file with mode: 0644]
tests/ts/lscpu/dumps/sparc64.tar.gz [new file with mode: 0644]

diff --git a/tests/expected/lscpu/lscpu-sparc64 b/tests/expected/lscpu/lscpu-sparc64
new file mode 100644 (file)
index 0000000..4d05e9b
--- /dev/null
@@ -0,0 +1,17 @@
+CPU op-mode(s):        32-bit, 64-bit
+CPU(s):                6
+On-line CPU(s) list:   6,7,10,11,14,15
+Thread(s) per core:    1
+Core(s) per socket:    1
+Socket(s):             6
+
+# 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
+6,0,0,
+7,1,1,
+10,2,2,
+11,3,3,
+14,4,4,
+15,5,5,
diff --git a/tests/ts/lscpu/dumps/sparc64.tar.gz b/tests/ts/lscpu/dumps/sparc64.tar.gz
new file mode 100644 (file)
index 0000000..7edfba8
Binary files /dev/null and b/tests/ts/lscpu/dumps/sparc64.tar.gz differ