Issue 161475
Summary Incorrect filesystem test in libcxx
Labels libc++
Assignees
Reporter biabbas
    The test set_to_empty here https://github.com/llvm/llvm-project/blob/a414c22f32fa08ab91d9d6fe06d6949b526bedb3/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/current_path.pass.cpp#L94 checks if an error is returned for empty path as input to current path. Current path might use chdir and as per posix the behavior for this case is implementation specific. One way to handle empty string to chdir is ignoring the request. The test failed on a proprietary target os that handles empty string input in the latter manner.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to