X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-posix_spawn3.c;h=18f8aa135586f9d719d315dc375c1346643fbb55;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=56923b44078349228e7d7029f43ba618aaf10cac;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/tests/test-posix_spawn3.c b/tests/test-posix_spawn3.c index 56923b440..18f8aa135 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, 2010 Free Software Foundation, Inc. + Copyright (C) 2008-2014 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 @@ -42,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)