Re: [PATCH] libstdc++: Fix FS-dependent filesystem tests

2020-02-28 Thread Jonathan Wakely
On 28/02/20 13:25 +, Jonathan Wakely wrote: 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

[PATCH] libstdc++: Fix FS-dependent filesystem tests

2020-02-28 Thread Jonathan Wakely
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