mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Move zlib down
This commit is contained in:
parent
4021cd0c1e
commit
e2b3c3618e
4 changed files with 10 additions and 10 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue