]> 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:28:45 +0000 (21:28 +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 613a1aa9673648ef484a97e4fad2b281f138fe5e..289bab61996d025d6e32ac484bd2fdbe2571f552 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 4995ab746265590a9d296fea5cedd09d4d104e17..4e479233d9f41bbc983694e071deb70fa39ea810 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 2e72a1a5a09b405123fe9890be1e699cc49b942a..3308e303755f741f7735904029ebd4fb1c3ff60a 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 bce851d0c6bea9fbfbd4a6701b9218e763876c0f..00857d0340c33363e650c5fa1b3e8255dfa60fa6 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 809b85b5f1520cdab8046f1b83da422c9a52303f..baaa9b962177a806c0d0f02a12b7057b04e66062 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