+2022-09-14 Bruno Haible <bruno@clisp.org>
+
+ 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 <bruno@clisp.org>
verify: Avoid syntax error due to static_assert with MSVC 14.
#include <sys/types.h>
#include <sys/wait.h>
-#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
#include <sys/types.h>
#include <sys/wait.h>
-#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
#include <sys/types.h>
#include <sys/wait.h>
-#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. */
#include <sys/types.h>
#include <sys/wait.h>
-#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