From: Martin Kletzander Date: Tue, 7 Mar 2017 09:24:54 +0000 (+0100) Subject: tests: Add cpu/{online,present} files for old tests X-Git-Tag: v3.2.0-rc1~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15b5e4636421276a22b042a97afefe57ff020c6f;p=thirdparty%2Flibvirt.git tests: Add cpu/{online,present} files for old tests 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 --- diff --git a/tests/virhostcpudata/linux-test1/cpu/online b/tests/virhostcpudata/linux-test1/cpu/online new file mode 100644 index 0000000000..8b0fab869c --- /dev/null +++ b/tests/virhostcpudata/linux-test1/cpu/online @@ -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 index 0000000000..8b0fab869c --- /dev/null +++ b/tests/virhostcpudata/linux-test1/cpu/present @@ -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 index 0000000000..8b0fab869c --- /dev/null +++ b/tests/virhostcpudata/linux-test2/cpu/online @@ -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 index 0000000000..8b0fab869c --- /dev/null +++ b/tests/virhostcpudata/linux-test2/cpu/present @@ -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 index 0000000000..ece4196a6a --- /dev/null +++ b/tests/virhostcpudata/linux-test3/cpu/online @@ -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 index 0000000000..ece4196a6a --- /dev/null +++ b/tests/virhostcpudata/linux-test3/cpu/present @@ -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 index 0000000000..580a385a1d --- /dev/null +++ b/tests/virhostcpudata/linux-test4/cpu/online @@ -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 index 0000000000..580a385a1d --- /dev/null +++ b/tests/virhostcpudata/linux-test4/cpu/present @@ -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 index 0000000000..40c7bb2f1a --- /dev/null +++ b/tests/virhostcpudata/linux-test5/cpu/online @@ -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 index 0000000000..40c7bb2f1a --- /dev/null +++ b/tests/virhostcpudata/linux-test5/cpu/present @@ -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 index 0000000000..1d3e4fb38a --- /dev/null +++ b/tests/virhostcpudata/linux-test6/cpu/online @@ -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 index 0000000000..74fc2fb6b0 --- /dev/null +++ b/tests/virhostcpudata/linux-test6/cpu/present @@ -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 index 0000000000..bb381c7835 --- /dev/null +++ b/tests/virhostcpudata/linux-test7/cpu/online @@ -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 index 0000000000..bb381c7835 --- /dev/null +++ b/tests/virhostcpudata/linux-test7/cpu/present @@ -0,0 +1 @@ +0-23