gcc/libstdc++-v3/testsuite/util
Jonathan Wakely ec04aad76d Fix error handling in copy_file and equivalent
* 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
2016-10-25 16:32:37 +01:00
..
common_type Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
debug container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
exception Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
hash_fn Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
io Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
native_type Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
performance Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
regression Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
statistic Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
thread Replace references to C++0x with C++11 in comments 2016-07-15 21:23:08 +01:00
replacement_memory_operators.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
specfun_testcase.h Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
testsuite_abi_check.cc Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_abi.cc libstdc++/68297 avoid throw/catch in make_exception_ptr 2016-08-22 18:29:31 +01:00
testsuite_abi.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_allocator.cc Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_allocator.h container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
testsuite_api.h container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
testsuite_character.cc Fix out-of-bound array accesses in libstdc++ testsuite 2016-07-21 20:38:51 +01:00
testsuite_character.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_common_types.h container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
testsuite_container_traits.h Update copyright years. 2016-01-04 15:30:50 +01:00
testsuite_containergen.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_containers.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_counter_type.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_error.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_fs.h Fix error handling in copy_file and equivalent 2016-10-25 16:32:37 +01:00
testsuite_greedy_ops.h Update copyright years. 2016-01-04 15:30:50 +01:00
testsuite_hooks.cc Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_hooks.h testsuite_hooks.h: Rewrite VERIFY in terms of __builtin_printf and __builtin_abort. 2016-10-12 16:13:06 +00:00
testsuite_io.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_iterators.h libstdc++/71545 fix debug checks in binary search algorithms 2016-06-17 19:28:34 +01:00
testsuite_new_operators.h Define missing delete operators in libstdc++ testsuite 2016-07-21 20:38:57 +01:00
testsuite_performance.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_random.h container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
testsuite_regex.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_rng.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_rvalref.h container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
testsuite_shared.cc Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_tr1.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00