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:
Mariusz Zaborski 2021-11-08 12:30:51 +01:00
parent 561cd74b17
commit 748a707fe6

View File

@ -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);