mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 14:21:18 +01:00
libc: fix the test
Currently after cleaning the variables the environment will be always set to the intEnviron as documented in __rebuild_environ. Reported by: lwhsu@, jenkins
This commit is contained in:
parent
561cd74b17
commit
748a707fe6
@ -136,7 +136,7 @@ ATF_TC_BODY(clearenv__environ_null, tc)
|
||||
{
|
||||
|
||||
ATF_CHECK(clearenv() == 0);
|
||||
ATF_CHECK(environ == NULL);
|
||||
ATF_CHECK(environ != NULL);
|
||||
}
|
||||
|
||||
ATF_TC_WITHOUT_HEAD(clearenv__putenv_vars);
|
||||
|
Loading…
Reference in New Issue
Block a user