summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-posix_spawn_file_actions_addclose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-posix_spawn_file_actions_addclose.c b/tests/test-posix_spawn_file_actions_addclose.c
index f900415dae..f28017e585 100644
--- a/tests/test-posix_spawn_file_actions_addclose.c
+++ b/tests/test-posix_spawn_file_actions_addclose.c
@@ -55,8 +55,8 @@ main (void)
ASSERT (posix_spawn_file_actions_addclose (&actions, -1) == EBADF);
}
/* This behaviour is not mandated by POSIX, but happens to pass on all
- platforms except musl libc. */
-#if !defined MUSL_LIBC
+ platforms except musl libc and Cygwin. */
+#if !(defined MUSL_LIBC || defined __CYGWIN__)
{
int bad_fd = big_fd ();
errno = 0;