From 43bc35ac1a42db539e9547bceb85740ea7f125dd Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Thu, 30 May 2019 10:00:58 +0200 Subject: [PATCH] tests: Tweak x86 sysinfo test case 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 Acked-by: Michal Privoznik --- 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); -- GitLab