Add export test DCP -> h264 to trigger #1984.
[dcpomatic.git] / test / config_test.cc
index 0c5c86a4a77d4c41fbcb609c96bd91f72423ec13..d78b9357b86dc8943fcb5021255392c813fa09ed 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "lib/config.h"
 #include "test.h"
 #include <boost/test/unit_test.hpp>
 #include <fstream>
 
+
 using std::ofstream;
 
+
 static void
 rewrite_bad_config ()
 {
@@ -101,7 +104,7 @@ 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.