gcc/libstdc++-v3/testsuite/27_io/filesystem
Jonathan Wakely 3cb929a32a PR libstdc++/88881 fix filesystem::symlink_status for Windows
The fix for PR 88881 only added a workaround to filesystem::status, but
filesystem::symlink_status is also affected by the _wstat bug and needs
the same workaround.

The recent change to optimize path::parent_path() means that the
workaround can be simplified to just use parent_path().

	PR libstdc++/88881
	* src/c++17/fs_ops.cc [_GLIBCXX_FILESYSTEM_IS_WINDOWS]
	(status(const path&, error_code&)): Use parent_path() to remove
	trailing slash.
	(symlink_status(const path&, error_code&)): Duplicate workaround for
	bug in _wstat for paths with trailing slash.
	* testsuite/27_io/filesystem/operations/remove_all.cc: Check path
	with trailing slash.
	* testsuite/27_io/filesystem/operations/status.cc: Likewise.
	* testsuite/27_io/filesystem/operations/symlink_status.cc: Likewise.

From-SVN: r271755
2019-05-29 23:00:53 +01:00
..
directory_entry PR libstdc++/86756 Move rest of std::filesystem to libstdc++.so 2019-01-06 22:34:37 +00:00
file_status PR libstdc++/86756 Move rest of std::filesystem to libstdc++.so 2019-01-06 22:34:37 +00:00
filesystem_error PR libstdc++/86756 Move rest of std::filesystem to libstdc++.so 2019-01-06 22:34:37 +00:00
iterators [testsuite,libstdc++-v3] Fix 27_io/filesystem/iterators/caching.cc 2019-04-08 09:17:30 +02:00
operations PR libstdc++/88881 fix filesystem::symlink_status for Windows 2019-05-29 23:00:53 +01:00
path PR libstdc++/90634 reduce allocations in filesystem::path construction 2019-05-28 20:39:48 +01:00