X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-posix_spawn3.c;h=e76b7b290f15251e3abbaf5c101eca20b022ba75;hb=5191b3546cfb6c163228c23f214e325ddf60d46f;hp=af71068fe2fe26520c9a36294c0b1741ad0a9fc2;hpb=ae5dae6fd1caa993e969b869e42820a119385cbc;p=gnulib.git diff --git a/tests/test-posix_spawn3.c b/tests/test-posix_spawn3.c index af71068fe..e76b7b290 100644 --- a/tests/test-posix_spawn3.c +++ b/tests/test-posix_spawn3.c @@ -1,5 +1,5 @@ /* Test of posix_spawn() function. - Copyright (C) 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2008-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,6 +23,11 @@ #include +#include "signature.h" +SIGNATURE_CHECK (posix_spawn, int, (pid_t *, char const *, + posix_spawn_file_actions_t const *, + posix_spawnattr_t const *, + char *const[], char *const[])); #include #include #include @@ -37,6 +42,11 @@ extern char **environ; #define CHILD_PROGRAM_FILENAME "test-posix_spawn3" #define DATA_FILENAME "t!#$%&'()*+,-;=?@[\\]^_`{|}~.tmp" +/* On Cygwin, '*' '?' '\\' '|' cannot be used in file names. */ +#if defined __CYGWIN__ +# undef DATA_FILENAME +# define DATA_FILENAME "t!#$%&'()+,-;=@[]^_`{}~.tmp" +#endif static int parent_main (void)