llvm-project/libcxx/test/std/experimental/filesystem/fs.op.funcs
Volodymyr Sapsai ff9595a002 [libcxx] Fix last_write_time test for filesystems that don't support very small times.
APFS minimum supported file write time is -2^63 nanoseconds, which doesn't go
as far as `file_time_type::min()` that is equal to -2^63 microseconds on macOS.

This change doesn't affect filesystems that support `file_time_type` range only
for in-memory file time representation but not for on-disk representation. Such
filesystems are considered as `SupportsMinTime`.

rdar://problem/35865151

Reviewers: EricWF, Hahnfeld

Subscribers: jkorous-apple, mclow.lists, cfe-commits, christof

Differential Revision: https://reviews.llvm.org/D42755

llvm-svn: 326383
2018-02-28 23:27:40 +00:00
..
fs.op.absolute [libcxx] [test] Fix comment typos, strip trailing whitespace. 2017-01-18 20:10:25 +00:00
fs.op.canonical Fix initialization of test case array in C++11 2016-06-17 22:36:47 +00:00
fs.op.copy Implement LWG 3013 - some filesystem members should not be noexcept. 2017-10-30 18:59:59 +00:00
fs.op.copy_file Implement LWG 3014 - Fix more noexcept issues in filesystem. 2018-02-04 07:35:36 +00:00
fs.op.copy_symlink Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.create_directories Implement LWG 3014 - Fix more noexcept issues in filesystem. 2018-02-04 07:35:36 +00:00
fs.op.create_directory [libcxx][filesystem] Remove setgid from parent before testing permissions 2016-07-18 06:06:50 +00:00
fs.op.create_directory_symlink Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.create_hard_link Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.create_symlink Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.current_path
fs.op.equivalent Fix equivalent test on OS X and FreeBSD 2017-07-05 03:54:38 +00:00
fs.op.exists add tests for ENAMETOOLONG 2017-02-17 01:00:37 +00:00
fs.op.file_size
fs.op.hard_lk_ct [test] Fix hard_link_count test to account for fs with dir nlink==1 2017-02-08 09:57:32 +00:00
fs.op.is_block_file
fs.op.is_char_file
fs.op.is_directory
fs.op.is_empty Implement LWG 3013 - some filesystem members should not be noexcept. 2017-10-30 18:59:59 +00:00
fs.op.is_fifo
fs.op.is_other
fs.op.is_regular_file
fs.op.is_socket
fs.op.is_symlink
fs.op.last_write_time [libcxx] Fix last_write_time test for filesystems that don't support very small times. 2018-02-28 23:27:40 +00:00
fs.op.permissions [libcxx] [test] Fix comment typos, strip trailing whitespace. 2017-01-18 20:10:25 +00:00
fs.op.read_symlink Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.remove Make std::experimental::filesystem::remove and remove_all return false or 0 if the file doesn't exist 2018-01-11 17:04:29 +00:00
fs.op.remove_all Implement LWG 3014 - Fix more noexcept issues in filesystem. 2018-02-04 07:35:36 +00:00
fs.op.rename Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.resize_file Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.space Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.status add tests for ENAMETOOLONG 2017-02-17 01:00:37 +00:00
fs.op.status_known
fs.op.symlink_status
fs.op.system_complete
fs.op.temp_dir_path filesystem: fix n4100 conformance for `temp_directory_path` 2017-02-05 17:21:52 +00:00