mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Remove a test for getenv() behaviour which isn't specified by SUS and
2003-08-08 Matthias Clasen <maclas@gmx.de> * tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS and doesn't work on Solaris.
This commit is contained in:
parent
96838a7a88
commit
18042ea064
@ -1,3 +1,8 @@
|
||||
2003-08-08 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
|
||||
and doesn't work on Solaris.
|
||||
|
||||
2003-08-07 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/env-test.c: Add tests for '=' in names and values.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-08-08 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
|
||||
and doesn't work on Solaris.
|
||||
|
||||
2003-08-07 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/env-test.c: Add tests for '=' in names and values.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-08-08 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
|
||||
and doesn't work on Solaris.
|
||||
|
||||
2003-08-07 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/env-test.c: Add tests for '=' in names and values.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-08-08 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
|
||||
and doesn't work on Solaris.
|
||||
|
||||
2003-08-07 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/env-test.c: Add tests for '=' in names and values.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-08-08 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
|
||||
and doesn't work on Solaris.
|
||||
|
||||
2003-08-07 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/env-test.c: Add tests for '=' in names and values.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-08-08 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
|
||||
and doesn't work on Solaris.
|
||||
|
||||
2003-08-07 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/env-test.c: Add tests for '=' in names and values.
|
||||
|
@ -99,8 +99,13 @@ main (int argc, char *argv[])
|
||||
|
||||
result = g_setenv ("foo", "bar=baz", TRUE);
|
||||
g_assert (result && "g_setenv() doesn't accept '=' in values");
|
||||
#if 0
|
||||
/* While glibc supports '=' in names in getenv(), SUS doesn't say anything about it,
|
||||
* and Solaris doesn't support it.
|
||||
*/
|
||||
data = g_getenv ("foo=bar");
|
||||
g_assert (strcmp (data, "baz") == 0 && "g_getenv() doesn't support '=' in names");
|
||||
#endif
|
||||
data = g_getenv ("foo");
|
||||
g_assert (strcmp (data, "bar=baz") == 0 && "g_getenv() doesn't support '=' in values");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user