]> 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>
Wed, 14 Sep 2022 13:12:18 +0000 (15:12 +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 24c734cca647ee013cc3bd95e17fe0a5bde07fcc..af34da6da7361252b298d3098f274c5cc316d8bb 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 df4eb8917f4dc9161c7cb822c02f11596bec1d90..21e3cb4c05f21095479d39d4a2c8f136d513e23f 100644 (file)
@@ -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.  */
index 127d7a0b37e531d15519517a56f9363bfa403560..49ea5ed95799653f5a526299bcdcc82de1957fcc 100644 (file)
@@ -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