* src/filesystem/ops.cc (do_copy_file): Report an error if source or destination is not a regular file (LWG 2712). (equivalent): Fix error handling and result when only one file exists. * testsuite/experimental/filesystem/operations/copy.cc: Remove files created by tests. Test copying directories. * testsuite/experimental/filesystem/operations/copy_file.cc: Remove files created by tests. * testsuite/experimental/filesystem/operations/equivalent.cc: New. * testsuite/experimental/filesystem/operations/is_empty.cc: New. * testsuite/experimental/filesystem/operations/read_symlink.cc: Remove file created by test. * testsuite/experimental/filesystem/operations/remove_all.cc: New. * testsuite/util/testsuite_fs.h (~scoped_file): Only try to remove file if path is non-empty, to support removal by other means. From-SVN: r241521
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| common_type | Loading commit data... | |
| debug | Loading commit data... | |
| exception | Loading commit data... | |
| hash_fn | Loading commit data... | |
| io | Loading commit data... | |
| native_type | Loading commit data... | |
| performance | Loading commit data... | |
| regression | Loading commit data... | |
| statistic | Loading commit data... | |
| thread | Loading commit data... | |
| replacement_memory_operators.h | Loading commit data... | |
| specfun_testcase.h | Loading commit data... | |
| testsuite_abi.cc | Loading commit data... | |
| testsuite_abi.h | Loading commit data... | |
| testsuite_abi_check.cc | Loading commit data... | |
| testsuite_allocator.cc | Loading commit data... | |
| testsuite_allocator.h | Loading commit data... | |
| testsuite_api.h | Loading commit data... | |
| testsuite_character.cc | Loading commit data... | |
| testsuite_character.h | Loading commit data... | |
| testsuite_common_types.h | Loading commit data... | |
| testsuite_container_traits.h | Loading commit data... | |
| testsuite_containergen.h | Loading commit data... | |
| testsuite_containers.h | Loading commit data... | |
| testsuite_counter_type.h | Loading commit data... | |
| testsuite_error.h | Loading commit data... | |
| testsuite_fs.h | Loading commit data... | |
| testsuite_greedy_ops.h | Loading commit data... | |
| testsuite_hooks.cc | Loading commit data... | |
| testsuite_hooks.h | Loading commit data... | |
| testsuite_io.h | Loading commit data... | |
| testsuite_iterators.h | Loading commit data... | |
| testsuite_new_operators.h | Loading commit data... | |
| testsuite_performance.h | Loading commit data... | |
| testsuite_random.h | Loading commit data... | |
| testsuite_regex.h | Loading commit data... | |
| testsuite_rng.h | Loading commit data... | |
| testsuite_rvalref.h | Loading commit data... | |
| testsuite_shared.cc | Loading commit data... | |
| testsuite_tr1.h | Loading commit data... |