https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97731
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:2dc2f417288d4f0839b4bc01388e676ee343f941 commit r12-6982-g2dc2f417288d4f0839b4bc01388e676ee343f941 Author: Jonathan Wakely <jwak...@redhat.com> Date: Tue Feb 1 14:02:56 2022 +0000 libstdc++: Add more tests for filesystem directory iterators The PR 97731 test was added to verify a fix to the Filesystem TS code, but we should also have the same test to avoid similar regressions in the C++17 std::filesystem code. Also add tests for directory_options::follow_directory_symlink libstdc++-v3/ChangeLog: * testsuite/27_io/filesystem/iterators/97731.cc: New test. * testsuite/27_io/filesystem/iterators/recursive_directory_iterator.cc: Check follow_directory_symlink option. * testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc: Likewise.