Lines Matching refs:setenv
273 ASSERT_EQ(0, setenv("test-variable", "hello", 1)); in TEST()
287 EXPECT_EQ(-1, setenv(NULL, "value", 0)); in TEST()
289 EXPECT_EQ(-1, setenv(NULL, "value", 1)); in TEST()
291 EXPECT_EQ(-1, setenv("", "value", 0)); in TEST()
293 EXPECT_EQ(-1, setenv("", "value", 1)); in TEST()
295 EXPECT_EQ(-1, setenv("a=b", "value", 0)); in TEST()
297 EXPECT_EQ(-1, setenv("a=b", "value", 1)); in TEST()
301 TEST(UNISTD_TEST, setenv) { in TEST() argument
309 EXPECT_EQ(0, setenv("test-variable", a, 0)); in TEST()
313 EXPECT_EQ(0, setenv("test-variable", b, 0)); in TEST()
317 EXPECT_EQ(0, setenv("test-variable", c, 1)); in TEST()
352 ASSERT_EQ(0, setenv("test-variable", "a", 1)); in TEST()
364 EXPECT_EQ(0, setenv("test-variable", "post-clear", 1)); in TEST()
1328 setenv("PATH", dirname(tf.filename), 1); in TEST()