From 213e681acf82c427e221e1435a52f8f1682f44fc Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Wed, 9 Mar 2016 16:27:47 -0500 Subject: [PATCH] test: fix poll_bad_fdtype for AIX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/libuv/libuv/pull/757 Reviewed-By: Colin Ihrig Reviewed-By: Saúl Ibarra Corretgé --- test/test-poll.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test-poll.c b/test/test-poll.c index 524dfab4..f558ab1e 100644 --- a/test/test-poll.c +++ b/test/test-poll.c @@ -565,10 +565,11 @@ TEST_IMPL(poll_unidirectional) { /* Windows won't let you open a directory so we open a file instead. * OS X lets you poll a file so open the $PWD instead. Both fail * on Linux so it doesn't matter which one we pick. Both succeed - * on FreeBSD and Solaris so skip the test on those platforms. + * on FreeBSD, Solaris and AIX so skip the test on those platforms. */ TEST_IMPL(poll_bad_fdtype) { -#if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__sun) +#if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__sun) && \ + !defined(_AIX) uv_poll_t poll_handle; int fd;