Lines Matching full:g_setenv
58 result = g_setenv (variable, value1, TRUE);
59 g_assert (result && "g_setenv() failed");
65 result = g_setenv (variable, value2, FALSE);
66 g_assert (result && "g_setenv() failed");
70 g_assert (strcmp (data, value2) != 0 && "g_setenv() always overwrites");
73 result = g_setenv (variable, value2, TRUE);
74 g_assert (result && "g_setenv() failed");
78 g_assert (strcmp (data, value1) != 0 && "g_setenv() doesn't overwrite");
89 result = g_setenv ("foo=bar", "baz", TRUE);
90 g_assert (!result && "g_setenv() accepts '=' in names");
93 result = g_setenv ("foo", "bar=baz", TRUE);
94 g_assert (result && "g_setenv() doesn't accept '=' in values");