mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-27 15:52: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
|
@ -77,14 +77,18 @@ TEST(commandv, testSlashes_wontSearchPath_butChecksAccess) {
|
|||
i = __syscount;
|
||||
EXPECT_STREQ("home/sh.com",
|
||||
commandv("home/sh.com", pathbuf, sizeof(pathbuf)));
|
||||
#ifdef __x86_64__
|
||||
if (!IsWindows()) EXPECT_EQ(i + 2, __syscount);
|
||||
#endif
|
||||
}
|
||||
|
||||
TEST(commandv, testSlashes_wontSearchPath_butStillAppendsComExtension) {
|
||||
EXPECT_NE(-1, touch("home/sh.com", 0755));
|
||||
i = __syscount;
|
||||
EXPECT_STREQ("home/sh.com", commandv("home/sh", pathbuf, sizeof(pathbuf)));
|
||||
#ifdef __x86_64__
|
||||
if (!IsWindows()) EXPECT_EQ(i + 3, __syscount);
|
||||
#endif
|
||||
}
|
||||
|
||||
TEST(commandv, testSameDir_doesntHappenByDefaultUnlessItsWindows) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue