diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-23 00:16:13 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-23 00:16:13 +0000 |
| commit | 5138e2b72f5b8a17588ca717f40c00a747bc6928 (patch) | |
| tree | 49fb11c5c9b45000a2930a182d7fd8be9a540a4a /test/test.cc | |
| parent | 8c95be068518c96f7d31b44e106297de446c163f (diff) | |
Add test for recovery-after-crash in 3D.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test.cc b/test/test.cc index 22dea1fc4..be2cf1538 100644 --- a/test/test.cc +++ b/test/test.cc @@ -94,14 +94,14 @@ new_test_film (string name) return f; } -static void -check_file (string ref, string check) +void +check_file (boost::filesystem::path ref, boost::filesystem::path check) { uintmax_t N = boost::filesystem::file_size (ref); BOOST_CHECK_EQUAL (N, boost::filesystem::file_size(check)); - FILE* ref_file = fopen (ref.c_str(), "rb"); + FILE* ref_file = fopen_boost (ref, "rb"); BOOST_CHECK (ref_file); - FILE* check_file = fopen (check.c_str(), "rb"); + FILE* check_file = fopen_boost (check, "rb"); BOOST_CHECK (check_file); int const buffer_size = 65536; |
