]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Tweak x86 sysinfo test case
authorAndrea Bolognani <abologna@redhat.com>
Thu, 30 May 2019 08:00:58 +0000 (10:00 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 3 Jun 2019 15:46:03 +0000 (17:46 +0200)
We have a single mock dmidecode script right now, but we're
going to add another one soon, so we need to make sure its
name contains the test case name as a prefix, just like we
already do with all data files.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>
tests/sysinfodata/x86dmidecode.sh [moved from tests/sysinfodata/dmidecode.sh with 100% similarity]
tests/sysinfotest.c

index 7fa9a2dfd66a8e7e5916a55b9a674db356a0d691..ef8ed1e31ee689ab07bded6443b81d1910a4d0ec 100644 (file)
@@ -133,7 +133,7 @@ mymain(void)
     TEST("s390", virSysinfoReadS390);
     TEST("s390-freq", virSysinfoReadS390);
     TEST("ppc", virSysinfoReadPPC);
-    TEST_FULL("x86", virSysinfoReadX86, "/sysinfodata/dmidecode.sh");
+    TEST_FULL("x86", virSysinfoReadX86, "/sysinfodata/x86dmidecode.sh");
     TEST("arm", virSysinfoReadARM);
     TEST("arm-rpi2", virSysinfoReadARM);
     TEST("aarch64", virSysinfoReadARM);