mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-27 15:52:28 +00:00
Introduce FreeBSD ARM64 support
It's 100% passing test fleet. Solid as a rock.
This commit is contained in:
parent
43fe5956ad
commit
83107f78ed
455 changed files with 778 additions and 551 deletions
|
@ -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));
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue