]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: add rv64 lscpu test
authorKarel Zak <kzak@redhat.com>
Fri, 30 Jul 2021 13:32:24 +0000 (15:32 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 30 Jul 2021 13:32:24 +0000 (15:32 +0200)
References: https://github.com/karelzak/util-linux/issues/1401
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/lscpu/lscpu-rv64-linux [new file with mode: 0644]
tests/ts/lscpu/dumps/rv64-linux.tar.gz [new file with mode: 0644]

diff --git a/tests/expected/lscpu/lscpu-rv64-linux b/tests/expected/lscpu/lscpu-rv64-linux
new file mode 100644 (file)
index 0000000..22767db
--- /dev/null
@@ -0,0 +1,16 @@
+CPU(s):              2
+On-line CPU(s) list: 0,1
+
+# The following is the parsable format, which can be fed to other
+# programs. Each different item in every column has an unique ID
+# starting usually from zero.
+# CPU,Core,Socket,Node
+,,,
+,,,
+
+# The following is the parsable format, which can be fed to other
+# programs. Each different item in every column has an unique ID
+# starting usually from zero.
+# CPU,Core,Socket,Node
+,,,
+,,,
diff --git a/tests/ts/lscpu/dumps/rv64-linux.tar.gz b/tests/ts/lscpu/dumps/rv64-linux.tar.gz
new file mode 100644 (file)
index 0000000..e108d85
Binary files /dev/null and b/tests/ts/lscpu/dumps/rv64-linux.tar.gz differ