A new test for posix_spawn.
[pspp] / modules / posix_spawnp-tests
1 Files:
2 tests/test-posix_spawn1.c
3 tests/test-posix_spawn1.in.sh
4 tests/test-posix_spawn2.c
5 tests/test-posix_spawn2.in.sh
6
7 Depends-on:
8 posix_spawn_file_actions_init
9 posix_spawn_file_actions_adddup2
10 posix_spawn_file_actions_addclose
11 posix_spawn_file_actions_addopen
12 posix_spawn_file_actions_destroy
13 posix_spawnattr_init
14 posix_spawnattr_setsigmask
15 posix_spawnattr_setflags
16 posix_spawnattr_destroy
17 sigprocmask
18 stdbool
19 unistd
20
21 configure.ac:
22
23 Makefile.am:
24 TESTS += test-posix_spawn1 test-posix_spawn2
25 check_PROGRAMS += test-posix_spawn1 test-posix_spawn2
26
27 BUILT_SOURCES += test-posix_spawn1.sh
28 test-posix_spawn1.sh: test-posix_spawn1.in.sh
29         cp $(srcdir)/test-posix_spawn1.in.sh $@-t
30         mv $@-t $@
31 MOSTLYCLEANFILES += test-posix_spawn1.sh test-posix_spawn1.sh-t
32
33 BUILT_SOURCES += test-posix_spawn2.sh
34 test-posix_spawn2.sh: test-posix_spawn2.in.sh
35         cp $(srcdir)/test-posix_spawn2.in.sh $@-t
36         mv $@-t $@
37 MOSTLYCLEANFILES += test-posix_spawn2.sh test-posix_spawn2.sh-t