Use separate working directories for some tests.
authorCarl Hetherington <cth@carlh.net>
Mon, 24 Jun 2024 21:01:06 +0000 (23:01 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 24 Jun 2024 21:01:06 +0000 (23:01 +0200)
test/config_test.cc

index 5d94f1ff169efe8980a4beac849033f333b6a2e4..8278f55a952282516eec364b386040b661214696 100644 (file)
@@ -165,7 +165,7 @@ BOOST_AUTO_TEST_CASE (config_write_utf8_test)
 /* 2.14 -> 2.18 */
 BOOST_AUTO_TEST_CASE (config_upgrade_test1)
 {
-       boost::filesystem::path dir = "build/test/config_upgrade_test";
+       boost::filesystem::path dir = "build/test/config_upgrade_test1";
        ConfigRestorer cr(dir);
 
        boost::filesystem::remove_all (dir);
@@ -196,7 +196,7 @@ BOOST_AUTO_TEST_CASE (config_upgrade_test1)
 /* 2.16 -> 2.18 */
 BOOST_AUTO_TEST_CASE (config_upgrade_test2)
 {
-       boost::filesystem::path dir = "build/test/config_upgrade_test";
+       boost::filesystem::path dir = "build/test/config_upgrade_test2";
        ConfigRestorer cr(dir);
        boost::filesystem::remove_all (dir);
        boost::filesystem::create_directories (dir);