Include name of test in filesystem-test.XXXXXX filenames
authorJonathan Wakely <jwakely@redhat.com>
Thu, 10 Jan 2019 11:12:00 +0000 (11:12 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 10 Jan 2019 11:12:00 +0000 (11:12 +0000)
commit7c4979b2b2f4d70f9e1ab8ba5fa3daeb0d5ace77
treefea1cbf8b54c76f6ef859d5b8eae4a838c79a52f
parent6cdf1946f6eed116552026cfeb44a669ee882ccf
Include name of test in filesystem-test.XXXXXX filenames

Also fix some tests that were not cleaning up after themselves, as
identified by the change to nonexistent_path.

* testsuite/util/testsuite_fs.h (nonexistent_path): Include name
of the source file containing the caller.
* testsuite/27_io/filesystem/iterators/directory_iterator.cc: Remove
directories created by test.
* testsuite/27_io/filesystem/iterators/recursive_directory_iterator.cc:
Likewise.
* testsuite/experimental/filesystem/iterators/directory_iterator.cc:
Likewise.
* testsuite/experimental/filesystem/iterators/
recursive_directory_iterator.cc: Likewise.

From-SVN: r267801
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/27_io/filesystem/iterators/directory_iterator.cc
libstdc++-v3/testsuite/27_io/filesystem/iterators/recursive_directory_iterator.cc
libstdc++-v3/testsuite/experimental/filesystem/iterators/directory_iterator.cc
libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc
libstdc++-v3/testsuite/util/testsuite_fs.h