mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-10-28 03:44:33 +00:00
Add MODE=optlinux build mode (#141)
This commit is contained in:
parent
226aaf3547
commit
67b5200a0b
111 changed files with 934 additions and 854 deletions
|
|
@ -21,8 +21,8 @@
|
|||
#include "libc/testlib/testlib.h"
|
||||
|
||||
TEST(getenv, test) {
|
||||
putenv("x=y");
|
||||
EXPECT_STREQ("y", getenv("x"));
|
||||
unsetenv("x");
|
||||
EXPECT_EQ(NULL, getenv("x"));
|
||||
putenv("X=y");
|
||||
EXPECT_STREQ("y", getenv("X"));
|
||||
unsetenv("X");
|
||||
EXPECT_EQ(NULL, getenv("X"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue