summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--tests/test-posix_spawn-inherit0.c2
-rw-r--r--tests/test-posix_spawn-inherit1.c2
-rw-r--r--tests/test-posix_spawn-open1.c2
-rw-r--r--tests/test-posix_spawn-open2.c2
5 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 24c734cca6..af34da6da7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
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.
* lib/verify.h (_Static_assert): Pass only the first argument to
_GL_VERIFY.
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 <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
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 <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
diff --git a/tests/test-posix_spawn-open1.c b/tests/test-posix_spawn-open1.c
index df4eb8917f..21e3cb4c05 100644
--- a/tests/test-posix_spawn-open1.c
+++ b/tests/test-posix_spawn-open1.c
@@ -37,7 +37,7 @@ SIGNATURE_CHECK (posix_spawn, int, (pid_t *, char const *,
#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. */
diff --git a/tests/test-posix_spawn-open2.c b/tests/test-posix_spawn-open2.c
index 127d7a0b37..49ea5ed957 100644
--- a/tests/test-posix_spawn-open2.c
+++ b/tests/test-posix_spawn-open2.c
@@ -31,7 +31,7 @@
#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