* 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
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.
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 );
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 );