Commit 58a5e654 authored by Mario Emmenlauer's avatar Mario Emmenlauer

tests/utils.cpp: Use binary mode for reading test results, to preserve EOL

parent 966d827d
......@@ -21,7 +21,7 @@ void prepare_logdir()
std::string file_contents(const std::string &filename)
{
std::ifstream ifs(filename);
std::ifstream ifs(filename, std::ios_base::binary);
if (!ifs)
{
throw std::runtime_error("Failed open file ");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment