These tests were failing on XFS because it doesn't support setting file timestamps past 2038, so the expected overflow when reading back a huge timestamp into a file_time_type didn't happen. Additionally, the std::filesystem::file_time_type::clock has an epoch that is out of range of 32-bit time_t so testing times around that epoch may also fail. This fixes the tests to give up gracefully if the filesystem doesn't support times that can't be represented in 32-bit time_t. * testsuite/27_io/filesystem/operations/last_write_time.cc: Fixes for filesystems that silently truncate timestamps. * testsuite/experimental/filesystem/operations/last_write_time.cc: Likewise.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| basic_filebuf | Loading commit data... | |
| basic_fstream | Loading commit data... | |
| basic_ifstream | Loading commit data... | |
| basic_ios | Loading commit data... | |
| basic_iostream | Loading commit data... | |
| basic_istream | Loading commit data... | |
| basic_istringstream | Loading commit data... | |
| basic_ofstream | Loading commit data... | |
| basic_ostream | Loading commit data... | |
| basic_ostringstream | Loading commit data... | |
| basic_streambuf | Loading commit data... | |
| basic_stringbuf | Loading commit data... | |
| basic_stringstream | Loading commit data... | |
| filesystem | Loading commit data... | |
| fpos | Loading commit data... | |
| headers | Loading commit data... | |
| ios_base | Loading commit data... | |
| manipulators | Loading commit data... | |
| objects | Loading commit data... | |
| types | Loading commit data... | |
| rvalue_streams-2.cc | Loading commit data... | |
| rvalue_streams.cc | Loading commit data... |