]> Savannah Git Hosting - gnulib.git/commitdiff
posix_spawn-* tests: Fix test failure on mingw when libtool is in use.
authorBruno Haible <bruno@clisp.org>
Wed, 14 Sep 2022 13:12:18 +0000 (15:12 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 18 Sep 2022 19:15:14 +0000 (21:15 +0200)
* 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.

ChangeLog
tests/test-posix_spawn-inherit0.c
tests/test-posix_spawn-inherit1.c
tests/test-posix_spawn-open1.c
tests/test-posix_spawn-open2.c

index b8facecd31734e31f39d62bf364f730c9f9d2b0c..b9240f94c1b5dc8b917edc9907c2bcb886d8e238 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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.
index e858fb69f49b8cd4db693c07d135f95b75c71fba..518d6ab7dc636696d800beea9e28191eace555f8 100644 (file)
@@ -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
index 4dd2ad2fba30651d433621584b14b1f17ca05d35..95798b716196951c9ab51fc1c566495a0c1aac86 100644 (file)
@@ -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
index 537b453fd484daae212028f16f6652879b20932b..1f1ba7d548c91dd20ea134ea5225c807cc560f06 100644 (file)
@@ -38,7 +38,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.  */
index 8064d3ef8b0f1c96eb5d6683c3b864872df12df9..3938c65a937a17fb40466df8f8925ae05016e9b7 100644 (file)
@@ -32,7 +32,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