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=30e05eca5e3b117151711b767ab97877393365d4;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 b8facecd31..b9240f94c1 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 e858fb69f4..518d6ab7dc 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 4dd2ad2fba..95798b7161 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 537b453fd4..1f1ba7d548 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 8064d3ef8b..3938c65a93 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