Lines Matching refs:putenv
95 "Test putenv(3), getenv(3), unsetenv(3)");
104 ATF_CHECK(putenv(string) != -1);
113 ATF_CHECK_ERRNO(EINVAL, putenv(NULL) == -1);
114 ATF_CHECK_ERRNO(EINVAL, putenv(__UNCONST("val")) == -1);
115 ATF_CHECK_ERRNO(EINVAL, putenv(__UNCONST("=val")) == -1);
165 "Test mixing setenv(3), unsetenv(3) and putenv(3)");
172 (void)strcpy(string, "mixedcrap=putenv");
176 ATF_CHECK(putenv(string) != -1);
177 ATF_CHECK_STREQ(getenv("mixedcrap"), "putenv");
181 ATF_CHECK(putenv(string) != -1);
182 ATF_CHECK_STREQ(getenv("mixedcrap"), "putenv");