[libc-commits] [libc] [libc] Implement posix_close in unistd (#240019) (PR #240024)
via libc-commits
libc-commits at lists.llvm.org
Sat Nov 7 12:13:08 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 2099 tests passed
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### libc
<details>
<summary>libc.src/unistd/libc.test.src.unistd.posix_close_test.__build__</summary>
```
[32m[==========] [0mRunning 4 tests from 1 test suite.
[32m[ RUN ] [0mLlvmLibcPosixCloseTest.InvalidFlag
[32m[ OK ] [0mLlvmLibcPosixCloseTest.InvalidFlag (30 us)
[32m[ RUN ] [0mLlvmLibcPosixCloseTest.InvalidFd
[32m[ OK ] [0mLlvmLibcPosixCloseTest.InvalidFd (37 us)
[32m[ RUN ] [0mLlvmLibcPosixCloseTest.CloseSuccess
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/src/unistd/posix_close_test.cpp:54: FAILURE
Expected: 0
Which is: 0
To be equal to: static_cast<int>(libc_errno)
Which is: 2
[31m[ FAILED ] [0mLlvmLibcPosixCloseTest.CloseSuccess
[32m[ RUN ] [0mLlvmLibcPosixCloseTest.CloseWithRestartFlag
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/src/unistd/posix_close_test.cpp:67: FAILURE
Expected: 0
Which is: 0
To be equal to: static_cast<int>(libc_errno)
Which is: 2
[31m[ FAILED ] [0mLlvmLibcPosixCloseTest.CloseWithRestartFlag
Ran 4 tests. PASS: 2 FAIL: 2
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/240024
More information about the libc-commits
mailing list