]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Add cpu/{online,present} files for old tests
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 7 Mar 2017 09:24:54 +0000 (10:24 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 27 Mar 2017 11:13:29 +0000 (13:13 +0200)
The functionality these tests partially relied on (scanning the cpu
directory for cpu[0-9]+ subdirectories) is going to be removed, so we
need additional files that are present on all non-medieval systems.
Removing all these tests would be an option but we would lose the
ability to test the topologies.  Even though we just extract number of
sockets/cores/threads from all these directory trees.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
14 files changed:
tests/virhostcpudata/linux-test1/cpu/online [new file with mode: 0644]
tests/virhostcpudata/linux-test1/cpu/present [new file with mode: 0644]
tests/virhostcpudata/linux-test2/cpu/online [new file with mode: 0644]
tests/virhostcpudata/linux-test2/cpu/present [new file with mode: 0644]
tests/virhostcpudata/linux-test3/cpu/online [new file with mode: 0644]
tests/virhostcpudata/linux-test3/cpu/present [new file with mode: 0644]
tests/virhostcpudata/linux-test4/cpu/online [new file with mode: 0644]
tests/virhostcpudata/linux-test4/cpu/present [new file with mode: 0644]
tests/virhostcpudata/linux-test5/cpu/online [new file with mode: 0644]
tests/virhostcpudata/linux-test5/cpu/present [new file with mode: 0644]
tests/virhostcpudata/linux-test6/cpu/online [new file with mode: 0644]
tests/virhostcpudata/linux-test6/cpu/present [new file with mode: 0644]
tests/virhostcpudata/linux-test7/cpu/online [new file with mode: 0644]
tests/virhostcpudata/linux-test7/cpu/present [new file with mode: 0644]

diff --git a/tests/virhostcpudata/linux-test1/cpu/online b/tests/virhostcpudata/linux-test1/cpu/online
new file mode 100644 (file)
index 0000000..8b0fab8
--- /dev/null
@@ -0,0 +1 @@
+0-1
diff --git a/tests/virhostcpudata/linux-test1/cpu/present b/tests/virhostcpudata/linux-test1/cpu/present
new file mode 100644 (file)
index 0000000..8b0fab8
--- /dev/null
@@ -0,0 +1 @@
+0-1
diff --git a/tests/virhostcpudata/linux-test2/cpu/online b/tests/virhostcpudata/linux-test2/cpu/online
new file mode 100644 (file)
index 0000000..8b0fab8
--- /dev/null
@@ -0,0 +1 @@
+0-1
diff --git a/tests/virhostcpudata/linux-test2/cpu/present b/tests/virhostcpudata/linux-test2/cpu/present
new file mode 100644 (file)
index 0000000..8b0fab8
--- /dev/null
@@ -0,0 +1 @@
+0-1
diff --git a/tests/virhostcpudata/linux-test3/cpu/online b/tests/virhostcpudata/linux-test3/cpu/online
new file mode 100644 (file)
index 0000000..ece4196
--- /dev/null
@@ -0,0 +1 @@
+0-47
diff --git a/tests/virhostcpudata/linux-test3/cpu/present b/tests/virhostcpudata/linux-test3/cpu/present
new file mode 100644 (file)
index 0000000..ece4196
--- /dev/null
@@ -0,0 +1 @@
+0-47
diff --git a/tests/virhostcpudata/linux-test4/cpu/online b/tests/virhostcpudata/linux-test4/cpu/online
new file mode 100644 (file)
index 0000000..580a385
--- /dev/null
@@ -0,0 +1 @@
+0-15
diff --git a/tests/virhostcpudata/linux-test4/cpu/present b/tests/virhostcpudata/linux-test4/cpu/present
new file mode 100644 (file)
index 0000000..580a385
--- /dev/null
@@ -0,0 +1 @@
+0-15
diff --git a/tests/virhostcpudata/linux-test5/cpu/online b/tests/virhostcpudata/linux-test5/cpu/online
new file mode 100644 (file)
index 0000000..40c7bb2
--- /dev/null
@@ -0,0 +1 @@
+0-3
diff --git a/tests/virhostcpudata/linux-test5/cpu/present b/tests/virhostcpudata/linux-test5/cpu/present
new file mode 100644 (file)
index 0000000..40c7bb2
--- /dev/null
@@ -0,0 +1 @@
+0-3
diff --git a/tests/virhostcpudata/linux-test6/cpu/online b/tests/virhostcpudata/linux-test6/cpu/online
new file mode 100644 (file)
index 0000000..1d3e4fb
--- /dev/null
@@ -0,0 +1 @@
+0-4,6
diff --git a/tests/virhostcpudata/linux-test6/cpu/present b/tests/virhostcpudata/linux-test6/cpu/present
new file mode 100644 (file)
index 0000000..74fc2fb
--- /dev/null
@@ -0,0 +1 @@
+0-7
diff --git a/tests/virhostcpudata/linux-test7/cpu/online b/tests/virhostcpudata/linux-test7/cpu/online
new file mode 100644 (file)
index 0000000..bb381c7
--- /dev/null
@@ -0,0 +1 @@
+0-23
diff --git a/tests/virhostcpudata/linux-test7/cpu/present b/tests/virhostcpudata/linux-test7/cpu/present
new file mode 100644 (file)
index 0000000..bb381c7
--- /dev/null
@@ -0,0 +1 @@
+0-23