|
Apache HTTPD
|
Go to the source code of this file.
Macros | |
| #define | TEST_ENVVAR_NAME "apr_test_envvar" |
| #define | TEST_ENVVAR2_NAME "apr_test_envvar2" |
| #define | TEST_ENVVAR_VALUE "Just a value that we'll check" |
Functions | |
| static void | test_setenv (abts_case *tc, void *data) |
| static void | test_getenv (abts_case *tc, void *data) |
| static void | test_delenv (abts_case *tc, void *data) |
| static void | test_emptyenv (abts_case *tc, void *data) |
| abts_suite * | testenv (abts_suite *suite) |
Variables | |
| static int | have_env_set |
| static int | have_env_get |
| static int | have_env_del |
http://issues.apache.org/bugzilla/show_bug.cgi?id=40764
Set empty string and test that rv != ENOENT)
Delete and retest
Set second variable + test
Finally, test ENOENT (first variable) followed by second != ENOENT)
Cleanup
| abts_suite * testenv | ( | abts_suite * | suite | ) |