Clean up temporary files created by std::filesystem testsuite
* testsuite/27_io/filesystem/operations/canonical.cc: Remove directory created by test. * testsuite/27_io/filesystem/operations/symlink_status.cc: Remove symlink created by test. From-SVN: r266535
This commit is contained in:
parent
9b4e458bd7
commit
c718ff4183
3 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
|||
2018-11-27 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/27_io/filesystem/operations/canonical.cc: Remove
|
||||
directory created by test.
|
||||
* testsuite/27_io/filesystem/operations/symlink_status.cc: Remove
|
||||
symlink created by test.
|
||||
|
||||
PR libstdc++/67843
|
||||
* acinclude.m4 (GLIBCXX_ENABLE_LOCK_POLICY): Add new macro
|
||||
that defines _GLIBCXX_HAVE_ATOMIC_LOCK_POLICY.
|
||||
|
|
|
@ -36,6 +36,7 @@ test01()
|
|||
VERIFY( ec );
|
||||
|
||||
create_directory(p);
|
||||
__gnu_test::scoped_file l(p, __gnu_test::scoped_file::adopt_file);
|
||||
auto p2 = canonical( p, ec );
|
||||
compare_paths( p2, fs::current_path()/p );
|
||||
VERIFY( !ec );
|
||||
|
|
|
@ -42,6 +42,7 @@ test01()
|
|||
|
||||
fs::path link = __gnu_test::nonexistent_path();
|
||||
create_directory_symlink(dot, link);
|
||||
__gnu_test::scoped_file l(link, __gnu_test::scoped_file::adopt_file);
|
||||
|
||||
st1 = fs::symlink_status(link);
|
||||
VERIFY( st1.type() == fs::file_type::symlink );
|
||||
|
|
Loading…
Add table
Reference in a new issue