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 |
|---|---|---|
| .. | ||
| absolute.cc | Loading commit data... | |
| canonical.cc | Loading commit data... | |
| copy.cc | Loading commit data... | |
| copy_file.cc | Loading commit data... | |
| create_directories.cc | Loading commit data... | |
| create_directory.cc | Loading commit data... | |
| create_symlink.cc | Loading commit data... | |
| current_path.cc | Loading commit data... | |
| equivalent.cc | Loading commit data... | |
| exists.cc | Loading commit data... | |
| file_size.cc | Loading commit data... | |
| is_empty.cc | Loading commit data... | |
| last_write_time.cc | Loading commit data... | |
| permissions.cc | Loading commit data... | |
| read_symlink.cc | Loading commit data... | |
| remove.cc | Loading commit data... | |
| remove_all.cc | Loading commit data... | |
| space.cc | Loading commit data... | |
| status.cc | Loading commit data... | |
| temp_directory_path.cc | Loading commit data... |