summaryrefslogtreecommitdiff
path: root/tests/test-posix_spawn-inherit1.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-09-14 15:12:18 +0200
committerBruno Haible <bruno@clisp.org>2022-09-14 15:12:18 +0200
commit167619228fc54207fb7631b4b07e5cdc446c7eb6 (patch)
treeac9bcaf2d5f04b00ea57b1eb1a7dd29b3328b173 /tests/test-posix_spawn-inherit1.c
parent7ea156f06cea2b6e225754c475f17035a38de5b2 (diff)
downloadgnulib-167619228fc54207fb7631b4b07e5cdc446c7eb6.tar.gz
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.
Diffstat (limited to 'tests/test-posix_spawn-inherit1.c')
-rw-r--r--tests/test-posix_spawn-inherit1.c2
1 files changed, 1 insertions, 1 deletions
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