boost::filesystem::copy_file ("test/data/2.14.cinemas.xml", dir / "cinemas.xml");
Config::instance();
try {
- /* This will fail to write cinemas.xml since the link is to a non-existant directory */
+ /* This will fail to write cinemas.xml since the link is to a non-existent directory */
Config::instance()->write();
} catch (...) {}
boost::filesystem::remove (dir / "2.16" / "config.xml");
Config::instance();
- check_text_file (dir / "backup_for_test.xml", dir / "cinemas.xml.1");
+ check_text_file(dir / "backup_for_test.xml", dir / "cinemas.xml");
}