From 0b648155e7ad577c5e0ff42c1633fe913dca4946 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Tue, 15 Sep 2009 18:38:50 +0100 Subject: [PATCH] Move test driver into src/test/ * src/Makefile.am, src/libvirt.c: Adjust for changed paths * src/test.c: Rename to src/test/test_driver.c, * src/test.h: Rename to src/test/test_driver.h --- src/Makefile.am | 2 +- src/libvirt.c | 2 +- src/{test.c => test/test_driver.c} | 2 +- src/{test.h => test/test_driver.h} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/{test.c => test/test_driver.c} (99%) rename src/{test.h => test/test_driver.h} (100%) diff --git a/src/Makefile.am b/src/Makefile.am index 81c40e45a8..b2c2ca6187 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -104,7 +104,7 @@ REMOTE_DRIVER_SOURCES = \ # Mock driver, covering domains, storage, networks, etc TEST_DRIVER_SOURCES = \ - test.c test.h + test/test_driver.c test/test_driver.h diff --git a/src/libvirt.c b/src/libvirt.c index 6a0fb00a64..98f17ffc98 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -44,7 +44,7 @@ #ifndef WITH_DRIVER_MODULES #ifdef WITH_TEST -#include "test.h" +#include "test/test_driver.h" #endif #ifdef WITH_XEN #include "xen/xen_driver.h" diff --git a/src/test.c b/src/test/test_driver.c similarity index 99% rename from src/test.c rename to src/test/test_driver.c index 368a3cbfcc..778992c68c 100644 --- a/src/test.c +++ b/src/test/test_driver.c @@ -34,7 +34,7 @@ #include "virterror_internal.h" #include "datatypes.h" -#include "test.h" +#include "test_driver.h" #include "buf.h" #include "util.h" #include "uuid.h" diff --git a/src/test.h b/src/test/test_driver.h similarity index 100% rename from src/test.h rename to src/test/test_driver.h -- 2.47.2