[all-commits] [llvm/llvm-project] 84c212: [llvm-ar] Enable failed testacase on FreeBSD
aokblast via All-commits
all-commits at lists.llvm.org
Fri Apr 17 02:38:13 PDT 2026
Branch: refs/heads/users/aokblast/llvm/enable_ar_test
Home: https://github.com/llvm/llvm-project
Commit: 84c212f165428ffe98a023e3ad0fb5f491751c77
https://github.com/llvm/llvm-project/commit/84c212f165428ffe98a023e3ad0fb5f491751c77
Author: ShengYi Hung <aokblast at FreeBSD.org>
Date: 2026-04-17 (Fri, 17 Apr 2026)
Changed paths:
M llvm/test/tools/llvm-ar/error-opening-directory.test
Log Message:
-----------
[llvm-ar] Enable failed testacase on FreeBSD
FreeBSD previously allowed the read system call to operate on a
directory file descriptor (dirfd). In such cases, it returned the
internal file data structure, which caused the llvm-ar test—expecting a
failure when attempting to read a directory—to incorrectly pass.
This behavior had been introduced to align with older Unix
implementations. However, it was removed in commit
dcef4f65ae3978c50eab745f67364db4660a9f43, with the change taking effect
in FreeBSD 13 and later.
As a result, the test now behaves as intended, and we can safely
re-enable it.
Commit: 1cf6e2683e0492fbe705b565edce60b5b1fb92e9
https://github.com/llvm/llvm-project/commit/1cf6e2683e0492fbe705b565edce60b5b1fb92e9
Author: ShengYi Hung <aokblast at FreeBSD.org>
Date: 2026-04-17 (Fri, 17 Apr 2026)
Changed paths:
M llvm/test/tools/llvm-ar/error-opening-directory.test
Log Message:
-----------
fixup! [llvm-ar] Enable failed testacase on FreeBSD
Compare: https://github.com/llvm/llvm-project/compare/92f7daec832d...1cf6e2683e04
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list