mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Get TEST_LIBC_CALLS passing on AARCH64
This commit is contained in:
parent
802e7eb4ef
commit
ba49e86e20
22 changed files with 65 additions and 7 deletions
|
@ -127,6 +127,9 @@ TEST(writev, empty_stillPerformsIoOperation) {
|
|||
ASSERT_NE(-1, (fd = open("file", O_RDONLY)));
|
||||
errno = 0;
|
||||
EXPECT_SYS(EBADF, -1, writev(fd, iov, ARRAYLEN(iov)));
|
||||
#ifndef __aarch64__
|
||||
// Can't test this due to qemu-aarch64 bug
|
||||
EXPECT_EQ(-1, writev(fd, NULL, 0));
|
||||
#endif
|
||||
EXPECT_NE(-1, close(fd));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue