Ignore some more errors during a test.
[dcpomatic.git] / test / config_test.cc
index 4ca3ba07ffb3b9168b48969ca972b5eef7c5e92a..67c00cf41c80bb786082c4f8997d7dc5f9c2f9a6 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_text_file ("test/data/utf8_config.xml", "build/test/config.xml");
+
+       /* This test has called Config::set_defaults(), so take us back
+          to the config that we want for our tests.
+       */
+       setup_test_config ();
 }