diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Test/B02typeset.ztst | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 414fdbfd4..68f103210 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-07-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + * 23726: Test/B02typeset.ztst: test for adding and removing + of environment variables. + * 23725: configure.ac, Src/exec.c, Src/params.c, Src/system.h: use setenv() and unsetenv() for memory management of the environment where possible. diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst index 40669defd..5ba88035b 100644 --- a/Test/B02typeset.ztst +++ b/Test/B02typeset.ztst @@ -377,3 +377,14 @@ >integer local i >local tagged scalar >preserved + + export ENVFOO=bar + print ENVFOO in environment + env | grep '^ENVFOO' + unset ENVFOO + print ENVFOO no longer in environment + env | grep '^ENVFOO' +1:Adding and removing values to and from the environment +>ENVFOO in environment +>ENVFOO=bar +>ENVFOO no longer in environment |