]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: update s390-lpar-drawer testcase
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 22 Jun 2016 07:26:00 +0000 (09:26 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 24 Jun 2016 08:54:09 +0000 (10:54 +0200)
commit8eb9604a341871e2c10c57c6b5cd8dba54fab577
treefb9234b8735ca52685637b4971b769cc4da0f844
parent28b1658f8b5b3c9fdd971201de6e95abb33526a9
lscpu: update s390-lpar-drawer testcase

I noticed that the "cpu" line within /proc/cpuinfo has a different
meaning on powerpc and sparc than on s390.

On s390 it represents the cpu number while on powerpc and sparc it
represent the model name. Given that the s390 kernel patch which adds
the "cpu" line to /proc/cpuinfo hasn't been merged into the kernel
yet, I changed that line to "cpu number" to avoid the unnecessary
conflict.

Therefore this patch updates the testcase, which mainly changes the
contents of /proc/cpuinfo.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
tests/expected/lscpu/lscpu-s390-lpar-drawer
tests/ts/lscpu/dumps/s390-lpar-drawer.tar.gz