summaryrefslogtreecommitdiff
path: root/modules/posix_spawnp-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-09-29 21:42:51 +0200
committerBruno Haible <bruno@clisp.org>2008-09-29 21:46:17 +0200
commit7a3dd56e54ef658e2827071e03e143d32e422019 (patch)
tree39bedd8be4eec7768082cdc14798dd1fd6444bfa /modules/posix_spawnp-tests
parent04cacfa50524e0e6f11fa82b5a263fac6a8c21ea (diff)
downloadgnulib-7a3dd56e54ef658e2827071e03e143d32e422019.tar.gz
A new test for posix_spawn.
Diffstat (limited to 'modules/posix_spawnp-tests')
-rw-r--r--modules/posix_spawnp-tests24
1 files changed, 16 insertions, 8 deletions
diff --git a/modules/posix_spawnp-tests b/modules/posix_spawnp-tests
index f9dbe84ca0..7db28e8268 100644
--- a/modules/posix_spawnp-tests
+++ b/modules/posix_spawnp-tests
@@ -1,6 +1,8 @@
Files:
-tests/test-posix_spawn.c
-tests/test-posix_spawn.in.sh
+tests/test-posix_spawn1.c
+tests/test-posix_spawn1.in.sh
+tests/test-posix_spawn2.c
+tests/test-posix_spawn2.in.sh
Depends-on:
posix_spawn_file_actions_init
@@ -19,11 +21,17 @@ unistd
configure.ac:
Makefile.am:
-TESTS += test-posix_spawn
-check_PROGRAMS += test-posix_spawn
+TESTS += test-posix_spawn1 test-posix_spawn2
+check_PROGRAMS += test-posix_spawn1 test-posix_spawn2
-BUILT_SOURCES += test-posix_spawn.sh
-test-posix_spawn.sh: test-posix_spawn.in.sh
- cp $(srcdir)/test-posix_spawn.in.sh $@-t
+BUILT_SOURCES += test-posix_spawn1.sh
+test-posix_spawn1.sh: test-posix_spawn1.in.sh
+ cp $(srcdir)/test-posix_spawn1.in.sh $@-t
mv $@-t $@
-MOSTLYCLEANFILES += test-posix_spawn.sh test-posix_spawn.sh-t
+MOSTLYCLEANFILES += test-posix_spawn1.sh test-posix_spawn1.sh-t
+
+BUILT_SOURCES += test-posix_spawn2.sh
+test-posix_spawn2.sh: test-posix_spawn2.in.sh
+ cp $(srcdir)/test-posix_spawn2.in.sh $@-t
+ mv $@-t $@
+MOSTLYCLEANFILES += test-posix_spawn2.sh test-posix_spawn2.sh-t