llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path
Martin Storsjö 4c402ae880 [libcxx] [test] Don't leave test dirs behind in fs.op.current_path on Windows
Fix nesting of static_env and CWDGuard, restore the cwd (with
CWDGuard) before cleaning up the static_env.

Previously, every test run left 2 directories behind in the temp dir.

Differential Revision: https://reviews.llvm.org/D98954
2021-03-22 23:41:10 +02:00
..
current_path.pass.cpp [libcxx] [test] Don't leave test dirs behind in fs.op.current_path on Windows 2021-03-22 23:41:10 +02:00