| 249 | std::string platform(BOOST_PLATFORM); |
| 250 | |
| 251 | void check(const fs::path& source, const std::string& expected, const char* file, int line) |
| 252 | { |
| 253 | if (source.string() == expected) |
| 254 | return; |
| 255 | |
| 256 | std::cout << file |
| 257 | << '(' << line << "): source: \"" << source.string() |
| 258 | << "\" != expected: \"" << expected |
| 259 | << "\"" << std::endl; |
| 260 | |
| 261 | ++::boost::detail::test_errors(); |
| 262 | } |
| 263 | |
| 264 | path p1("fe/fi/fo/fum"); |
| 265 | path p2(p1); |