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 |
|---|---|---|
| .. | ||
| algorithm | Loading commit data... | |
| any | Loading commit data... | |
| array | Loading commit data... | |
| chrono | Loading commit data... | |
| deque | Loading commit data... | |
| filesystem | Loading commit data... | |
| forward_list | Loading commit data... | |
| functional | Loading commit data... | |
| iterator | Loading commit data... | |
| list | Loading commit data... | |
| map | Loading commit data... | |
| memory | Loading commit data... | |
| memory_resource | Loading commit data... | |
| net | Loading commit data... | |
| numeric | Loading commit data... | |
| optional | Loading commit data... | |
| polymorphic_allocator | Loading commit data... | |
| propagate_const | Loading commit data... | |
| random | Loading commit data... | |
| ratio | Loading commit data... | |
| set | Loading commit data... | |
| source_location | Loading commit data... | |
| string | Loading commit data... | |
| string_view | Loading commit data... | |
| system_error | Loading commit data... | |
| tuple | Loading commit data... | |
| type_erased_allocator | Loading commit data... | |
| type_traits | Loading commit data... | |
| unordered_map | Loading commit data... | |
| unordered_set | Loading commit data... | |
| vector | Loading commit data... | |
| feat-char8_t.cc | Loading commit data... | |
| feat-cxx14.cc | Loading commit data... | |
| feat-lib-fund.cc | Loading commit data... | |
| names.cc | Loading commit data... |