Move zlib down

This commit is contained in:
Justine Tunney 2023-08-31 15:17:35 -07:00
parent 4021cd0c1e
commit e2b3c3618e
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
4 changed files with 10 additions and 10 deletions

View file

@ -26,6 +26,7 @@
#include "libc/runtime/runtime.h"
#include "libc/stdio/stdio.h"
#include "libc/str/str.h"
#include "libc/sysv/consts/at.h"
#include "libc/sysv/consts/o.h"
#include "libc/testlib/testlib.h"
#include "libc/x/x.h"
@ -77,10 +78,14 @@ TEST(mkdir, enametoolong) {
EXPECT_SYS(ENAMETOOLONG, -1, mkdir(s, 0644));
}
TEST(makedirs, testEmptyString_ENOENT) {
TEST(mkdir, testEmptyString_ENOENT) {
EXPECT_SYS(ENOENT, -1, mkdir("", 0755));
}
TEST(mkdir, slashSlash) {
EXPECT_SYS(0, 0, mkdirat(AT_FDCWD, "o//", 0777));
}
TEST(mkdirat, testRelativePath_opensRelativeToDirFd) {
int dirfd;
ASSERT_SYS(0, 0, mkdir("foo", 0755));