diff --git a/tests/Makefile.am b/tests/Makefile.am index 359610f1b62d0b8787d1ca3b6a63ef9d932ad67c..90981dcf312ca06ddd42402c7d5f9cc19f8c8193 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -435,7 +435,7 @@ endif WITH_BHYVE if WITH_DBUS test_libraries += \ - virmockdbus.la + virdbusmock.la endif WITH_DBUS if WITH_LINUX @@ -1114,11 +1114,11 @@ virdbustest_SOURCES = \ virdbustest_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) virdbustest_LDADD = $(LDADDS) $(DBUS_LIBS) -virmockdbus_la_SOURCES = \ - virmockdbus.c -virmockdbus_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -virmockdbus_la_LDFLAGS = $(MOCKLIBS_LDFLAGS) -virmockdbus_la_LIBADD = $(MOCKLIBS_LIBS) +virdbusmock_la_SOURCES = \ + virdbusmock.c +virdbusmock_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) +virdbusmock_la_LDFLAGS = $(MOCKLIBS_LDFLAGS) +virdbusmock_la_LIBADD = $(MOCKLIBS_LIBS) virpolkittest_SOURCES = \ virpolkittest.c testutils.h testutils.c @@ -1131,7 +1131,7 @@ virsystemdtest_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) virsystemdtest_LDADD = $(LDADDS) $(DBUS_LIBS) else ! WITH_DBUS -EXTRA_DIST += virdbustest.c virmockdbus.c virsystemdtest.c +EXTRA_DIST += virdbustest.c virdbusmock.c virsystemdtest.c endif ! WITH_DBUS viruritest_SOURCES = \ diff --git a/tests/virmockdbus.c b/tests/virdbusmock.c similarity index 97% rename from tests/virmockdbus.c rename to tests/virdbusmock.c index 4261e6abb4df63965378cb105c493a8ffd8e78d8..a62689e91d5ba944dd785efac7e12d21fc71aa5b 100644 --- a/tests/virmockdbus.c +++ b/tests/virdbusmock.c @@ -1,5 +1,5 @@ /* - * virmockdbus.c: mocking of dbus message send/reply + * virdbusmock.c: mocking of dbus message send/reply * * Copyright (C) 2013-2014 Red Hat, Inc. * diff --git a/tests/virfirewalltest.c b/tests/virfirewalltest.c index 8f6fc9e12d26d6a745505ba3a74d275e0107de67..f1f29c6d39e44fc466fbcb41515380a47ebec97c 100644 --- a/tests/virfirewalltest.c +++ b/tests/virfirewalltest.c @@ -1184,7 +1184,7 @@ mymain(void) } # if WITH_DBUS -VIRT_TEST_MAIN_PRELOAD(mymain, abs_builddir "/.libs/virmockdbus.so") +VIRT_TEST_MAIN_PRELOAD(mymain, abs_builddir "/.libs/virdbusmock.so") # else VIRT_TEST_MAIN(mymain) # endif diff --git a/tests/virpolkittest.c b/tests/virpolkittest.c index b39beedf14183908bbed17381a98a67e484efea3..1ef7635fd8605e078facf965ac142db7c47e08c3 100644 --- a/tests/virpolkittest.c +++ b/tests/virpolkittest.c @@ -349,7 +349,7 @@ mymain(void) return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE; } -VIRT_TEST_MAIN_PRELOAD(mymain, abs_builddir "/.libs/virmockdbus.so") +VIRT_TEST_MAIN_PRELOAD(mymain, abs_builddir "/.libs/virdbusmock.so") #else /* ! (WITH_DBUS && __linux__) */ int diff --git a/tests/virsystemdtest.c b/tests/virsystemdtest.c index 101f5e049fe010d80731287f04468414830ecb6d..5e72de4663d51dd05c1c9d7ccab368fa44957503 100644 --- a/tests/virsystemdtest.c +++ b/tests/virsystemdtest.c @@ -602,7 +602,7 @@ mymain(void) return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE; } -VIRT_TEST_MAIN_PRELOAD(mymain, abs_builddir "/.libs/virmockdbus.so") +VIRT_TEST_MAIN_PRELOAD(mymain, abs_builddir "/.libs/virdbusmock.so") #else /* ! (WITH_DBUS && __linux__) */ int