[PATCH 1/2] tests: Tweak x86 sysinfo test case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 tests/sysinfodata/{dmidecode.sh => x86dmidecode.sh} | 0
 tests/sysinfotest.c                                 | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename tests/sysinfodata/{dmidecode.sh => x86dmidecode.sh} (100%)

diff --git a/tests/sysinfodata/dmidecode.sh b/tests/sysinfodata/x86dmidecode.sh
similarity index 100%
rename from tests/sysinfodata/dmidecode.sh
rename to tests/sysinfodata/x86dmidecode.sh
diff --git a/tests/sysinfotest.c b/tests/sysinfotest.c
index 7fa9a2dfd6..ef8ed1e31e 100644
--- a/tests/sysinfotest.c
+++ b/tests/sysinfotest.c
@@ -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);
-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux