diff options
-rw-r--r-- | netfs/unittests/testCore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/netfs/unittests/testCore.cpp b/netfs/unittests/testCore.cpp index 07590b6..10b04e2 100644 --- a/netfs/unittests/testCore.cpp +++ b/netfs/unittests/testCore.cpp @@ -15,12 +15,12 @@ const std::string testEndpoint("tcp -h localhost -p 12012"); class Core { public: - Core() : + Core(const std::string & daemonConfig = "defaultDaemon.xml", const std::string & fuseConfig = "defaultFuse.xml") : daemonHost(testEndpoint, { - "--NetFSD.ConfigPath=" + (RootDir / "defaultDaemon.xml").string() + "--NetFSD.ConfigPath=" + (RootDir / daemonConfig).string() }), fuseHost(testEndpoint, { - (RootDir / "defaultFuse.xml:testvol").string(), + (RootDir / fuseConfig).string() + ":testvol", (RootDir / "test").string() }), ic(daemonHost.ic), |