aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/operations/remove_all.cc2
-rw-r--r--libstdc++-v3/testsuite/experimental/filesystem/operations/remove_all.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/remove_all.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/remove_all.cc
index ee16d67..986a8df 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/operations/remove_all.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/remove_all.cc
@@ -171,6 +171,8 @@ test04()
}
fs::permissions(dir, fs::perms::owner_write, fs::perm_options::add);
+ fs::remove_all(dir, ec);
+ f.path.clear();
#endif
}
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/remove_all.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/remove_all.cc
index 9aca6c8..87fd2dd 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/operations/remove_all.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/remove_all.cc
@@ -137,6 +137,8 @@ test04()
}
fs::permissions(dir, fs::perms::owner_write|fs::perms::add_perms);
+ fs::remove_all(dir, ec);
+ f.path.clear();
#endif
}