test: fix typo in DYLD_LIBRARY_PATH
It looks like I managed to introduce a typo between two incarnations of the pull request, causing the test to fail on macOS when using the autotools dynamic library build. I even managed to spell it correctly in the skip message, just not in the actual environment variable lookup... I hang my head in shame at such a silly mistake. Fixes: https://github.com/libuv/libuv/issues/2421 PR-URL: https://github.com/libuv/libuv/pull/2422 Refs: https://github.com/libuv/libuv/pull/2408 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
66132c66e4
commit
54a5e9262f
@ -240,7 +240,7 @@ TEST_IMPL(spawn_empty_env) {
|
||||
* in the environment, but of course that doesn't work with
|
||||
* the empty environment that we're testing here.
|
||||
*/
|
||||
if (NULL != getenv("DYLD_LIBARY_PATH") ||
|
||||
if (NULL != getenv("DYLD_LIBRARY_PATH") ||
|
||||
NULL != getenv("LD_LIBRARY_PATH")) {
|
||||
RETURN_SKIP("doesn't work with DYLD_LIBRARY_PATH/LD_LIBRARY_PATH");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user