[all-commits] [llvm/llvm-project] 80a111: [llvm-ar] Enable failed testacase on FreeBSD (#192...
aokblast via All-commits
all-commits at lists.llvm.org
Sat Apr 18 21:17:48 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 80a11185b670796a8c4b4cfcf8b1e877e85e486c
https://github.com/llvm/llvm-project/commit/80a11185b670796a8c4b4cfcf8b1e877e85e486c
Author: aokblast <aokblast at FreeBSD.org>
Date: 2026-04-19 (Sun, 19 Apr 2026)
Changed paths:
M llvm/test/tools/llvm-ar/error-opening-directory.test
Log Message:
-----------
[llvm-ar] Enable failed testacase on FreeBSD (#192612)
FreeBSD used to allow the read system call on directory file descriptors
(dirfd). In those cases, it returned the internal file data structure
instead of failing. This caused the llvm-ar test— which expects a
failure when attempting to read a directory— to pass incorrectly.
This behavior existed for compatibility with older Unix implementations,
but it was removed in commit dcef4f65ae3978c50eab745f67364db4660a9f43.
The change applies to FreeBSD 13 and later. Since FreeBSD 12 has also
reached end-of-life, the outdated behavior is no longer relevant.
As a result, the test now behaves as intended and can be safely
re-enabled.
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