Introduce FreeBSD ARM64 support

It's 100% passing test fleet. Solid as a rock.
This commit is contained in:
Justine Tunney 2023-12-29 20:11:23 -08:00
parent 43fe5956ad
commit 83107f78ed
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
455 changed files with 778 additions and 551 deletions

View file

@ -95,6 +95,8 @@ TEST(rename, moveIntoNonWritableDirectory_raisesEacces) {
if (IsNetbsd() || IsOpenbsd()) return;
// windows doesn't really have permissions
if (IsWindows()) return;
// looks like a freebsd kernel bug
if (IsAarch64() && IsFreebsd()) return;
// posix specifies this behavior
ASSERT_SYS(0, 0, mkdir("foo", 0111));
ASSERT_SYS(0, 0, touch("lol", 0644));

View file

@ -150,7 +150,7 @@ TEST(futimens, test2) {
ASSERT_EQ(st.st_mtime, birth);
}
// NetBSD doesn't appear to change ctime even though it says it does
if (!IsNetbsd()) {
if (!IsNetbsd() && !(IsFreebsd() && IsAarch64())) {
ASSERT_GT(st.st_ctime, birth);
ASSERT_EQ(st.st_ctime, st.st_atime);
ASSERT_GT(st.st_ctime, st.st_mtime);