From: Bruno Haible Date: Wed, 14 Sep 2022 13:12:18 +0000 (+0200) Subject: posix_spawn-* tests: Fix test failure on mingw when libtool is in use. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=b3d0b64a31c00f415567651e24523c102802de1b;p=gnulib.git posix_spawn-* tests: Fix test failure on mingw when libtool is in use. * tests/test-posix_spawn-inherit0.c (CHILD_PROGRAM_FILENAME): Add the EXEEXT suffix. * tests/test-posix_spawn-inherit1.c (CHILD_PROGRAM_FILENAME): Likewise. * tests/test-posix_spawn-open1.c (CHILD_PROGRAM_FILENAME): Likewise. * tests/test-posix_spawn-open2.c (CHILD_PROGRAM_FILENAME): Likewise. --- diff --git a/ChangeLog b/ChangeLog index 613a1aa967..289bab6199 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2022-09-14 Bruno Haible + + posix_spawn-* tests: Fix test failure on mingw when libtool is in use. + * tests/test-posix_spawn-inherit0.c (CHILD_PROGRAM_FILENAME): Add the + EXEEXT suffix. + * tests/test-posix_spawn-inherit1.c (CHILD_PROGRAM_FILENAME): Likewise. + * tests/test-posix_spawn-open1.c (CHILD_PROGRAM_FILENAME): Likewise. + * tests/test-posix_spawn-open2.c (CHILD_PROGRAM_FILENAME): Likewise. + 2022-09-14 Bruno Haible verify: Avoid syntax error due to static_assert with MSVC 14. diff --git a/tests/test-posix_spawn-inherit0.c b/tests/test-posix_spawn-inherit0.c index 4995ab7462..4e479233d9 100644 --- a/tests/test-posix_spawn-inherit0.c +++ b/tests/test-posix_spawn-inherit0.c @@ -31,7 +31,7 @@ #include #include -#define CHILD_PROGRAM_FILENAME "test-posix_spawn-inherit0" +#define CHILD_PROGRAM_FILENAME "test-posix_spawn-inherit0" EXEEXT #define DATA_FILENAME "test-posix_spawn-inh0-data.tmp" static int diff --git a/tests/test-posix_spawn-inherit1.c b/tests/test-posix_spawn-inherit1.c index 2e72a1a5a0..3308e30375 100644 --- a/tests/test-posix_spawn-inherit1.c +++ b/tests/test-posix_spawn-inherit1.c @@ -31,7 +31,7 @@ #include #include -#define CHILD_PROGRAM_FILENAME "test-posix_spawn-inherit1" +#define CHILD_PROGRAM_FILENAME "test-posix_spawn-inherit1" EXEEXT #define DATA_FILENAME "test-posix_spawn-inh1-data.tmp" static int diff --git a/tests/test-posix_spawn-open1.c b/tests/test-posix_spawn-open1.c index bce851d0c6..00857d0340 100644 --- a/tests/test-posix_spawn-open1.c +++ b/tests/test-posix_spawn-open1.c @@ -38,7 +38,7 @@ SIGNATURE_CHECK (posix_spawn, int, (pid_t *, char const *, #include #include -#define CHILD_PROGRAM_FILENAME "test-posix_spawn-open1" +#define CHILD_PROGRAM_FILENAME "test-posix_spawn-open1" EXEEXT #define DATA_FILENAME "t!#$%&'()*+,-;=?@[\\]^_`{|}~.tmp" /* On Windows (including Cygwin), '*' '?' '\\' '|' cannot be used in file names. */ diff --git a/tests/test-posix_spawn-open2.c b/tests/test-posix_spawn-open2.c index 809b85b5f1..baaa9b9621 100644 --- a/tests/test-posix_spawn-open2.c +++ b/tests/test-posix_spawn-open2.c @@ -32,7 +32,7 @@ #include #include -#define CHILD_PROGRAM_FILENAME "test-posix_spawn-open2" +#define CHILD_PROGRAM_FILENAME "test-posix_spawn-open2" EXEEXT #define DATA_FILENAME "test-posix_spawn-open2-data.tmp" static int