From: Karel Zak Date: Fri, 20 Aug 2010 19:29:04 +0000 (+0200) Subject: tests: update lscpu tests X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=295b8bb906b7c3c14edb24b226331f6ddfd04427;p=util-linux tests: update lscpu tests Signed-off-by: Karel Zak --- diff --git a/tests/expected/lscpu/lscpu-i386-amdshanghai b/tests/expected/lscpu/lscpu-i386-amdshanghai index 4e300885..5f2d74ec 100644 --- a/tests/expected/lscpu/lscpu-i386-amdshanghai +++ b/tests/expected/lscpu/lscpu-i386-amdshanghai @@ -8,6 +8,7 @@ CPU family: 16 Model: 4 Stepping: 0 CPU MHz: 1995.158 +BogoMIPS: 3989.99 Virtualization: AMD-V L1d cache: 512K L1i cache: 512K diff --git a/tests/expected/lscpu/lscpu-i386-dellpe700 b/tests/expected/lscpu/lscpu-i386-dellpe700 index 5b7562b6..d1d95c79 100644 --- a/tests/expected/lscpu/lscpu-i386-dellpe700 +++ b/tests/expected/lscpu/lscpu-i386-dellpe700 @@ -8,6 +8,7 @@ CPU family: 15 Model: 2 Stepping: 9 CPU MHz: 3391.773 +BogoMIPS: 6781.99 # The following is the parsable format, which can be fed to other # programs. Each different item in every column has an unique ID diff --git a/tests/expected/lscpu/lscpu-i386-intels5000phb b/tests/expected/lscpu/lscpu-i386-intels5000phb index 0436aae5..24ca496a 100644 --- a/tests/expected/lscpu/lscpu-i386-intels5000phb +++ b/tests/expected/lscpu/lscpu-i386-intels5000phb @@ -8,6 +8,7 @@ CPU family: 6 Model: 15 Stepping: 7 CPU MHz: 1596.044 +BogoMIPS: 3191.91 Virtualization: VT-x L1d cache: 32K L1i cache: 32K diff --git a/tests/expected/lscpu/lscpu-x86_64-dellr710 b/tests/expected/lscpu/lscpu-x86_64-dellr710 index 43679dc4..d436f22f 100644 --- a/tests/expected/lscpu/lscpu-x86_64-dellr710 +++ b/tests/expected/lscpu/lscpu-x86_64-dellr710 @@ -9,6 +9,7 @@ CPU family: 6 Model: 26 Stepping: 5 CPU MHz: 2527.073 +BogoMIPS: 5053.32 Virtualization: VT-x L1d cache: 32K L1i cache: 32K diff --git a/tests/expected/lscpu/lscpu-x86_64-hpdl585 b/tests/expected/lscpu/lscpu-x86_64-hpdl585 index 54a1a242..2dc36c06 100644 --- a/tests/expected/lscpu/lscpu-x86_64-hpdl585 +++ b/tests/expected/lscpu/lscpu-x86_64-hpdl585 @@ -9,6 +9,7 @@ CPU family: 16 Model: 2 Stepping: 3 CPU MHz: 2210.188 +BogoMIPS: 4420.50 Virtualization: AMD-V L1d cache: 512K L1i cache: 512K diff --git a/tests/expected/lscpu/lscpu-x86_64-ibme326m b/tests/expected/lscpu/lscpu-x86_64-ibme326m index ccc64a07..98aea983 100644 --- a/tests/expected/lscpu/lscpu-x86_64-ibme326m +++ b/tests/expected/lscpu/lscpu-x86_64-ibme326m @@ -9,6 +9,7 @@ CPU family: 15 Model: 33 Stepping: 2 CPU MHz: 1995.058 +BogoMIPS: 3989.41 L1d cache: 1024K L1i cache: 1024K L2 cache: 1024K diff --git a/tests/expected/lscpu/lscpu-x86_64-necem14 b/tests/expected/lscpu/lscpu-x86_64-necem14 index c823f7e7..d3c4f1ba 100644 --- a/tests/expected/lscpu/lscpu-x86_64-necem14 +++ b/tests/expected/lscpu/lscpu-x86_64-necem14 @@ -9,6 +9,7 @@ CPU family: 15 Model: 4 Stepping: 3 CPU MHz: 3790.599 +BogoMIPS: 7579.94 L1d cache: 16K L2 cache: 2048K NUMA node0 CPU(s): 0,1 diff --git a/tests/ts/lscpu/lscpu b/tests/ts/lscpu/lscpu index 2c7f2a45..a3c6e492 100755 --- a/tests/ts/lscpu/lscpu +++ b/tests/ts/lscpu/lscpu @@ -40,6 +40,9 @@ for dump in $(ls $TS_SELF/dumps/*.tar.gz | sort); do "${TS_CMD_LSCPU}" -p -s "${dumpdir}/${name}" \ >>"${TS_OUTPUT}" 2>&1 + # LE/BE depends on binary + sed -i -e '/Byte Order:.*/d' $TS_OUTPUT + ts_finalize_subtest done