test: fix platform_output test on cygwin

Fixes: https://github.com/libuv/libuv/issues/2077
PR-URL: https://github.com/libuv/libuv/pull/2081
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
damon-kwok 2018-11-16 14:50:02 +08:00 committed by cjihrig
parent 32cccbc9f0
commit 2749d0c30d
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5

View File

@ -49,7 +49,7 @@ TEST_IMPL(platform_output) {
printf("uv_cwd: %s\n", buffer);
err = uv_resident_set_memory(&rss);
#if defined(__CYGWIN__) || defined(__MSYS__)
#if defined(__MSYS__)
ASSERT(err == UV_ENOSYS);
#else
ASSERT(err == 0);