summaryrefslogtreecommitdiffstats
path: root/tests/ts/lscpu
Commit message (Collapse)AuthorAgeFilesLines
* lscpu: fix floating point exceptionSami Kerola2019-05-181-0/+0
| | | | | | | | | | | | | As the title tells this change indeed fixes floating point exception, but post processing as value overwrite feels a wrong. Possibly something in input is making cpu set count to go wrong, but I could not get my head around what could it be. Anyway avoiding division by zero seems better than crashing so lets do this atleast for now. Caused-by: e5f721132ec8b8c933a396d8dcb3efcb67854f13 Addresses: https://github.com/karelzak/util-linux/issues/788 Reported-by: Lars Wendler <polynomial-c@gentoo.org> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* test: Adding AMD EPYC 7451 24-Core ProcessorErwan Velu2019-02-271-0/+0
| | | | | | | This cpu is massively numa and have interesting cache organization. This will be useful to test & implement issue #663 Signed-off-by: Erwan Velu <e.velu@criteo.com>
* tests: check for tar and {b,g}zipKarel Zak2018-12-111-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: add parsable testcase with the --physical optionHeiko Carstens2016-08-031-0/+5
| | | | Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* lscpu: update s390-lpar-drawer testcaseHeiko Carstens2016-06-241-0/+0
| | | | | | | | | | | | | | | | 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>
* lscpu: add s390 drawer testcaseHeiko Carstens2016-06-241-0/+0
| | | | | | | Add a new s390 testcase so we get some coverage for the new drawer cpu topology level. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* tests: add lscpu IBM pSeries test dataRuediger Meier2014-05-291-0/+0
| | | | | | | | | Just adding missing files /proc/device-tree/ibm,partition-name /proc/device-tree/hmc-managed? to our existing lscpu-ppc64-POWER7-64cpu dump. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: add vbox lscpu dumpRuediger Meier2014-05-291-0/+0
| | | | | | | | | | | Taken from openSUSE-13.1 guest in VirtualBox-4.3.10 (host=Win7): Hypervisor vendor: Oracle Virtualization type: full Dump was provides by Bernhard Voelker. CC: Bernhard Voelker <mail@bernhard-voelker.de> Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: add lscpu dump for ppc cpu with no cache sizeRuediger Meier2014-03-271-0/+0
| | | | | | | 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: check commands needed for running a test existSami Kerola2014-03-071-1/+3
| | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: avoid executing dirname(1) commandSami Kerola2014-02-171-1/+1
| | | | | | Bash parameter expansion does the same thing. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add sparc64 lscpu testKarel Zak2013-11-051-0/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add armv7 lscpu dumpKarel Zak2012-11-121-0/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add ppc64-POWER7-64cpu lscpu dumpKarel Zak2012-11-121-0/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: remove lscpu /sys dumps without 'possible' CPU maskKarel Zak2012-11-1215-0/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add lscpu test for box with 64 CPUsKarel Zak2012-06-211-0/+0
| | | | | | | | | | | | | | | Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 2 Core(s) per socket: 8 Socket(s): 4 Vendor ID: GenuineIntel ... Signed-off-by: Karel Zak <kzak@redhat.com>
* Fix typos found by misspellingsBernhard Voelker2012-04-231-1/+1
| | | | | | | | | | | | | | | The tool misspellings (https://github.com/lyda/misspell-check) detected several typos. Command used: $ git ls-files | grep -v ^po/ | misspellings -f - * isosize: Fix typo in usage string. * configure.ac: Fix typo in help string of --enable-most-builds option. * fdisk: Fix typo in man page. * libblkid, blkid, mount: Likewise. * Fix various typos in docs and in source code comments. Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
* lscpu: add s390 kvm test caseHeiko Carstens2011-10-111-0/+0
| | | | Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* lscpu: remove unneeded fileHeiko Carstens2011-09-121-0/+0
| | | | | | | | As noted by Sami I accidentally added a garbage file. Just remove it again. Cc: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* lscpu: add s390 test caseHeiko Carstens2011-09-094-0/+4
| | | | Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* tests: add lscpu dumps from three Dell's & a XenSami Kerola2011-06-084-0/+0
| | | | | | | | | | | | | | | | x86_64-dell_poweredgeR610 Ubuntu 11.04 kernel 2.6.38-8 x86_64-dell_poweredge1950 Red Hat EL 4.5 kernel 2.6.9-55.ELsmp x86_64-dell_e4310 Red Hat EL 5.3 kernel 2.6.18-194.17.4.el5 x86_64-el5xen Red Hat EL 5.6 kernel 2.6.18-238.el5xen Signed-off-by: Sami Kerola <sami.kerola@tomtom.com>
* tests: add dump from PPC64 to lscpu testsKarel Zak2011-03-311-0/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add dump from UltraSparc T1 to lscpu testsKarel Zak2011-03-311-0/+0
| | | | | | Thanks to Jan Engelhardt. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add dump from huge ia64 to lscpu testsKarel Zak2011-03-311-0/+0
| | | | | | Thanks to Jan Engelhardt. Signed-off-by: Karel Zak <kzak@redhat.com>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update lscpu testsKarel Zak2010-08-201-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add lscpu dump from Dell R710, 8-core Nehalem w/HT (RHEL 5.5)Karel Zak2010-06-011-0/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix script that creates lscpu dumpsKarel Zak2009-05-271-21/+12Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: move lscpu /proc and /sys dumps to tarballsKarel Zak2009-05-271207-2523/+11Star
| | | | | | It's easy to maintain few tarballs that tons of files. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: remove broken Xen dumps for lscpuKarel Zak2009-05-2732-111/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix typo in lscpu testKarel Zak2009-03-171-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix file name is too long (max 99) - gtarKarel Zak2009-03-171231-3/+3
| | | | | | | gtar: util-linux-ng-2.15-rc1/tests/ts/lscpu/proc-dumps/i386-dellpe700/sys/devices/system/cpu/cpu1/topology/: file name is too long (max 99); not dumped Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: chmod -x ts/lscpu/mk-input.shKarel Zak2009-02-181-0/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup lscpu reg.testsKarel Zak2009-02-181231-0/+2718
Signed-off-by: Karel Zak <kzak@redhat.com>