summaryrefslogtreecommitdiffstats
path: root/tests/ts/lscpu
diff options
context:
space:
mode:
authorHeiko Carstens2016-07-29 14:13:33 +0200
committerKarel Zak2016-08-03 13:35:05 +0200
commit0be8771a71059b968e6f02f3cbeb4c4a17f6d46c (patch)
tree677d703e1d6e8b7bcf9543a7ee5832a771d2956c /tests/ts/lscpu
parentlscpu: add --physical option (diff)
downloadkernel-qcow2-util-linux-0be8771a71059b968e6f02f3cbeb4c4a17f6d46c.tar.gz
kernel-qcow2-util-linux-0be8771a71059b968e6f02f3cbeb4c4a17f6d46c.tar.xz
kernel-qcow2-util-linux-0be8771a71059b968e6f02f3cbeb4c4a17f6d46c.zip
lscpu: add parsable testcase with the --physical option
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'tests/ts/lscpu')
-rwxr-xr-xtests/ts/lscpu/lscpu5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ts/lscpu/lscpu b/tests/ts/lscpu/lscpu
index 4a98b8604..70fbce9f3 100755
--- a/tests/ts/lscpu/lscpu
+++ b/tests/ts/lscpu/lscpu
@@ -42,6 +42,11 @@ for dump in $(ls $TS_SELF/dumps/*.tar.gz | sort); do
"${TS_CMD_LSCPU}" -p -s "${dumpdir}/${name}" \
>>"${TS_OUTPUT}" 2>&1
+ echo >>"${TS_OUTPUT}"
+
+ "${TS_CMD_LSCPU}" -p -y -s "${dumpdir}/${name}" \
+ >>"${TS_OUTPUT}" 2>&1
+
# LE/BE depends on binary
sed -i -e '/Byte Order:.*/d' $TS_OUTPUT