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/cpu12/cache/index0/level | 1 + .../sys/devices/system/cpu/cpu12/cache/index0/shared_cpu_map | 1 + .../sys/devices/system/cpu/cpu12/cache/index0/size | 1 + .../sys/devices/system/cpu/cpu12/cache/index0/type | 1 + .../sys/devices/system/cpu/cpu12/cache/index1/level | 1 + .../sys/devices/system/cpu/cpu12/cache/index1/shared_cpu_map | 1 + .../sys/devices/system/cpu/cpu12/cache/index1/size | 1 + .../sys/devices/system/cpu/cpu12/cache/index1/type | 1 + .../sys/devices/system/cpu/cpu12/cache/index2/level | 1 + .../sys/devices/system/cpu/cpu12/cache/index2/shared_cpu_map | 1 + .../sys/devices/system/cpu/cpu12/cache/index2/size | 1 + .../sys/devices/system/cpu/cpu12/cache/index2/type | 1 + .../sys/devices/system/cpu/cpu12/cache/index3/level | 1 + .../sys/devices/system/cpu/cpu12/cache/index3/shared_cpu_map | 1 + .../sys/devices/system/cpu/cpu12/cache/index3/size | 1 + .../sys/devices/system/cpu/cpu12/cache/index3/type | 1 + .../sys/devices/system/cpu/cpu12/topology/core_siblings | 1 + .../sys/devices/system/cpu/cpu12/topology/thread_siblings | 1 + 18 files changed, 18 insertions(+) create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/level create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/shared_cpu_map create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/size create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/type create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/level create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/shared_cpu_map create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/size create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/type create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/level create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/shared_cpu_map create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/size create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/type create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/level create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/shared_cpu_map create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/size create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/type create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/topology/core_siblings create mode 100644 tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/topology/thread_siblings (limited to 'tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12') diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/level b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/level new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/level @@ -0,0 +1 @@ +1 diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/shared_cpu_map b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/shared_cpu_map new file mode 100644 index 000000000..b82cc2839 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/shared_cpu_map @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,00001000 diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/size b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/size new file mode 100644 index 000000000..176f94148 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/size @@ -0,0 +1 @@ +512K diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/type b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/type new file mode 100644 index 000000000..0b7088ec6 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index0/type @@ -0,0 +1 @@ +Data diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/level b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/level new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/level @@ -0,0 +1 @@ +1 diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/shared_cpu_map b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/shared_cpu_map new file mode 100644 index 000000000..b82cc2839 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/shared_cpu_map @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,00001000 diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/size b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/size new file mode 100644 index 000000000..176f94148 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/size @@ -0,0 +1 @@ +512K diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/type b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/type new file mode 100644 index 000000000..9a53cbfa3 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index1/type @@ -0,0 +1 @@ +Instruction diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/level b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/level new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/level @@ -0,0 +1 @@ +2 diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/shared_cpu_map b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/shared_cpu_map new file mode 100644 index 000000000..b82cc2839 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/shared_cpu_map @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,00001000 diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/size b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/size new file mode 100644 index 000000000..176f94148 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/size @@ -0,0 +1 @@ +512K diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/type b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/type new file mode 100644 index 000000000..e4fd9dccd --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index2/type @@ -0,0 +1 @@ +Unified diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/level b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/level new file mode 100644 index 000000000..00750edc0 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/level @@ -0,0 +1 @@ +3 diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/shared_cpu_map b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/shared_cpu_map new file mode 100644 index 000000000..b82cc2839 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/shared_cpu_map @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,00001000 diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/size b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/size new file mode 100644 index 000000000..25d2efd06 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/size @@ -0,0 +1 @@ +2048K diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/type b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/type new file mode 100644 index 000000000..e4fd9dccd --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/cache/index3/type @@ -0,0 +1 @@ +Unified diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/topology/core_siblings b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/topology/core_siblings new file mode 100644 index 000000000..f3059d84e --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/topology/core_siblings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,00001111 diff --git a/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/topology/thread_siblings b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/topology/thread_siblings new file mode 100644 index 000000000..b82cc2839 --- /dev/null +++ b/tests/input/ts-lscpu-x86_64-hpdl585/sys/devices/system/cpu/cpu12/topology/thread_siblings @@ -0,0 +1 @@ +00000000,00000000,00000000,00000000,00000000,00000000,00000000,00001000 -- cgit v1.2.3-55-g7522