Try to fix text-file-checking test on Windows.
[dcpomatic.git] / test / config_test.cc
index 4ca3ba07ffb3b9168b48969ca972b5eef7c5e92a..d22e635c826a93713b0fb067158f11217a992370 100644 (file)
@@ -101,6 +101,11 @@ BOOST_AUTO_TEST_CASE (config_write_utf8_test)
        Config::drop ();
        Config::instance()->write();
 
-       check_file ("test/data/utf8_config.xml", "build/test/config.xml");
+       check_file ("test/data/utf8_config.xml", "build/test/config.xml", false);
+
+       /* This test has called Config::set_defaults(), so take us back
+          to the config that we want for our tests.
+       */
+       setup_test_config ();
 }