From c2abd9a0a51a5e80721b8e3b83cc2f99416f1539 Mon Sep 17 00:00:00 2001 From: Cai Qian Date: Thu, 14 Aug 2008 13:15:43 +0200 Subject: lscpu: regression tests This patch added regression tests for lscpu. It tests lscpu for 3 architecutres, i386, x86_64 and ia64, with data from 3 different machines each. Signed-off-by: Cai Qian Signed-off-by: Karel Zak --- .../sys/devices/system/cpu/cpu3/cache/index2/level | 1 + .../sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map | 1 + .../sys/devices/system/cpu/cpu3/cache/index2/size | 1 + .../sys/devices/system/cpu/cpu3/cache/index2/type | 1 + 4 files changed, 4 insertions(+) create mode 100644 tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/level create mode 100644 tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map create mode 100644 tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/size create mode 100644 tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/type (limited to 'tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2') diff --git a/tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/level b/tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/level new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/level @@ -0,0 +1 @@ +2 diff --git a/tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map b/tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map new file mode 100644 index 000000000..f672618b8 --- /dev/null +++ b/tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000008 diff --git a/tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/size b/tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/size new file mode 100644 index 000000000..7a3f37367 --- /dev/null +++ b/tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/size @@ -0,0 +1 @@ +256K diff --git a/tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/type b/tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/type new file mode 100644 index 000000000..e4fd9dccd --- /dev/null +++ b/tests/input/ts-lscpu-ia64-hpmatterhorn/sys/devices/system/cpu/cpu3/cache/index2/type @@ -0,0 +1 @@ +Unified -- cgit v1.2.3-55-g7522