summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-12-23 23:22:03 +0100
committerBruno Haible <bruno@clisp.org>2020-12-23 23:25:55 +0100
commit422feb063ae6dcaf096b8575f63345a6fbe8e73d (patch)
tree1c068bc54df52f3d91c60039d9e0536596360752 /modules
parent4c30b1b0d2ee72d89069b09f4257c30372c5b5a2 (diff)
downloadgnulib-422feb063ae6dcaf096b8575f63345a6fbe8e73d.tar.gz
posix_spawn tests: Add another test.
* tests/test-posix_spawn-open2.c: New file, based on tests/test-posix_spawn-open1.c. * modules/posix_spawn-tests (Files): Add it. (Makefile.am): Compile and run test-posix_spawn-open1.
Diffstat (limited to 'modules')
-rw-r--r--modules/posix_spawn-tests9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/posix_spawn-tests b/modules/posix_spawn-tests
index 4b20afa7ce..f56ee6328e 100644
--- a/modules/posix_spawn-tests
+++ b/modules/posix_spawn-tests
@@ -1,5 +1,6 @@
Files:
tests/test-posix_spawn-open1.c
+tests/test-posix_spawn-open2.c
tests/signature.h
Depends-on:
@@ -23,6 +24,10 @@ AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes])
Makefile.am:
if POSIX_SPAWN_PORTED
-TESTS += test-posix_spawn-open1
-check_PROGRAMS += test-posix_spawn-open1
+TESTS += \
+ test-posix_spawn-open1 \
+ test-posix_spawn-open2
+check_PROGRAMS += \
+ test-posix_spawn-open1 \
+ test-posix_spawn-open2
endif