Improve tests for error reporting in Filesystem TS
authorJonathan Wakely <jwakely@redhat.com>
Thu, 19 Oct 2017 13:57:10 +0000 (14:57 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 19 Oct 2017 13:57:10 +0000 (14:57 +0100)
commitdb62ad7c66e97b45a4286932bcab3926bd571227
tree3e2a07094803015506ce20a0a0486e8511943648
parent551124d5613673c70b92aff884430476f04684e1
Improve tests for error reporting in Filesystem TS

* testsuite/experimental/filesystem/iterators/
recursive_directory_iterator.cc: Ensure that error_code arguments are
cleared when required.
* testsuite/experimental/filesystem/operations/create_directory.cc:
Remove redundant check.
* testsuite/experimental/filesystem/operations/temp_directory_path.cc:
Ensure that error_code argument is cleared when required.

From-SVN: r253897
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/create_directory.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc