Details
- Reviewers
curdeius ldionne - Group Reviewers
Restricted Project - Commits
- rG1f1f8e239bb3: [libcxx] [test] Use GetWindowsInaccessibleDir() in a couple more tests
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.temp_dir_path/temp_directory_path.pass.cpp | ||
---|---|---|
114 | Just thinking out loud, if you used nested_dir = dir on Windows, wouldn't that provoke permission_denied error? |
libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.temp_dir_path/temp_directory_path.pass.cpp | ||
---|---|---|
114 | That's true, why didn't I just go with that? Updating... |
LGTM apart from the comment.
libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp | ||
---|---|---|
108 | I'd like a small comment here about the difference on Windows, as we cannot create any file inside the inaccessible directory so we cannot test the same thing. |
libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp | ||
---|---|---|
108 | Ok, amended it locally with this comment: // We can't create files in the directory we use as inaccessible directory // for tests on Windows, so this doesn't test exactly the same as the // code below. |
libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp | ||
---|---|---|
108 | +1 |
Amended to remove xfails and to allow the dir to be missing. Has 1 approval from earlier, but the temp_dir_path test is modified a bit differently then all the others so it might warrant another look.
I'd like a small comment here about the difference on Windows, as we cannot create any file inside the inaccessible directory so we cannot test the same thing.