mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-08 20:28:30 +00:00
Normalize mkdir() error codes
This commit is contained in:
parent
6070319f84
commit
bf8b1623c8
11 changed files with 206 additions and 25 deletions
|
@ -30,4 +30,5 @@ TEST(dirname, test) {
|
|||
EXPECT_STREQ(".", dirname(gc(strdup("hello"))));
|
||||
EXPECT_STREQ(".", dirname(gc(strdup("."))));
|
||||
EXPECT_STREQ(".", dirname(gc(strdup(".."))));
|
||||
EXPECT_STREQ("", dirname(gc(strdup(""))));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue