mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Fix basename() and dirname()
This commit is contained in:
parent
9b11206ae3
commit
04d39d47f1
41 changed files with 489 additions and 207 deletions
|
@ -54,9 +54,9 @@ TEST(mkdir, testPathIsDirectory_EEXIST) {
|
|||
EXPECT_EQ(EEXIST, errno);
|
||||
}
|
||||
|
||||
TEST(makedirs, testEmptyString_ENOENT) {
|
||||
TEST(makedirs, testEmptyString_EEXIST) {
|
||||
EXPECT_EQ(-1, makedirs("", 0755));
|
||||
EXPECT_EQ(ENOENT, errno);
|
||||
EXPECT_EQ(EEXIST, errno);
|
||||
}
|
||||
|
||||
TEST(mkdirat, testRelativePath_opensRelativeToDirFd) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue