Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/tests/lib/libc/stdlib

Module Name:    src
Committed By:   tron
Date:           Sat Nov 13 18:52:55 UTC 2010

Modified Files:
        src/tests/lib/libc/stdlib: t_environment.c

Log Message:
Improve testing of environment handling:
1.) Always check the return value of setenv(3) and unsetenv(3).
2.) Test that calling setenv(..., ..., 0) doesn't overwrite environment
3.) Add a new test which mixes putenv(3) and setenv(3).

To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/stdlib/t_environment.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index