annotate modules/posix_spawn-tests @ 16033:917610de47d7

New modules 'at-internal', 'openat-h', split off from module 'openat'. * m4/openat.m4 (gl_FUNC_OPENAT): Don't set GNULIB_OPENAT. Don't invoke gl_PREREQ_OPENAT and gl_MODULE_INDICATOR. * modules/openat (Description): Add reference to POSIX function. (Files): Remove lib/openat.h, lib/openat-proc.c. (Depends-on): Add at-internal, openat-h. Remove fdopendir, gettext-h, intprops, unistd. (configure.ac): Remove AC_LIBOBJ of openat-proc. Invoke gl_PREREQ_OPENAT, gl_MODULE_INDICATOR here. Invoke gl_FCNTL_MODULE_INDICATOR. (Include): Remove unistd.h, openat.h. * modules/areadlinkat (Files): Add lib/at-func.c. (Depends-on): Add at-internal, dosname, errno, extensions, fchdir, openat-die, openat-h, save-cwd. * modules/areadlinkat-with-size (Files): Add lib/at-func.c. (Depends-on): Add at-internal, dosname, errno, extensions, fchdir, openat-die, openat-h, save-cwd, unistd. * modules/faccessat (Files): Add lib/at-func.c, lib/openat-priv.h. (Depends-on): Add at-internal, dosname, errno, fchdir, openat-die, openat-h, save-cwd. Remove fcntl-h, openat. * modules/fchmodat (Files): Remove lib/openat.h. (Depends-on): Add at-internal, openat-h. Remove dirent, fcntl-h, openat, stdbool, unistd. * modules/fchownat (Files): Remove lib/openat.h. (Depends-on): Add at-internal, openat-h. Remove dirent, fcntl-h, openat, stdbool, sys_stat. * modules/fdopendir (Files): Remove lib/openat-priv.h, lib/openat-proc.c. (Depends-on): Add at-internal. (condigure.ac): Remove AC_LIBOBJ of openat-proc. * modules/fstatat (Files): Remove lib/openat.h. (Depends-on): Add at-internal, openat-h. Remove dirent, openat, stdbool, unistd. * modules/fts (Depends-on): Add openat-h. * modules/linkat (Depends-on): Add at-internal, openat-h. Remove openat. * modules/mkdirat (Files): Remove lib/openat.h. (Depends-on): Add at-internal, openat-h. Remove dirent, fcntl-h, openat, stdbool, sys_stat. * modules/mkfifoat (Files): Add lib/at-func.c. (Depends-on): Add at-internal, dosname, errno, fchdir, openat-die, openat-h, save-cwd. Remove fcntl-h, openat. * modules/openat-die (Depends-on): Add openat-h. Remove openat. * modules/readlinkat (Files): Add lib/at-func.c. (Depends-on): Add at-internal, dosname, errno, fchdir, openat-die, openat-h, save-cwd. Remove fcntl-h, openat. * modules/renameat (Depends-on): Add at-internal, openat-h. Remove openat. * modules/selinux-at (Files): Add lib/at-func.c. (Depends-on): Add at-internal, dosname, errno, extensions, fchdir, fcntl-h, openat-die, openat-h, save-cwd, unistd. Remove openat. * modules/symlinkat (Files): Add lib/at-func.c. (Depends-on): Add at-internal, dosname, errno, fchdir, openat-die, openat-h, save-cwd. Remove fcntl-h, openat. * modules/unlinkat (Files): Remove lib/openat.h. (Depends-on): Add at-internal, openat-h. Remove dirent, openat, stdbool. * modules/utimensat (Files): Add lib/at-func.c. (Depends-on): Add at-internal, dosname, errno, fchdir, fcntl-h, openat-die, openat-h, save-cwd. * modules/fchownat-tests (Depends-on): Add openat-h. Remove openat. * modules/fdutimensat-tests (Depends-on): Add openat. * modules/fstatat-tests (Depends-on): Add openat-h. * modules/readlinkat-tests (Depends-on): Add openat. * modules/symlinkat-tests (Depends-on): Add openat.
author Bruno Haible <bruno@clisp.org>
date Sat, 05 Nov 2011 11:35:57 +0100
parents fb3e3c38ef7a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10687
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Files:
12492
fb3e3c38ef7a Reorder file list.
Bruno Haible <bruno@clisp.org>
parents: 12489
diff changeset
2 tests/test-posix_spawn3.c
12489
33ab12a7cea2 tests: add signature checks
Eric Blake <ebb9@byu.net>
parents: 11805
diff changeset
3 tests/signature.h
10687
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 Depends-on:
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 posix_spawn_file_actions_init
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 posix_spawn_file_actions_addopen
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 posix_spawn_file_actions_destroy
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 stdbool
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 unistd
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 sys_wait
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 configure.ac:
11269
8fea875fffee Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents: 10687
diff changeset
14 AC_EGREP_CPP([notposix], [[
8fea875fffee Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents: 10687
diff changeset
15 #if defined _MSC_VER || defined __MINGW32__
8fea875fffee Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents: 10687
diff changeset
16 notposix
8fea875fffee Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents: 10687
diff changeset
17 #endif
8fea875fffee Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents: 10687
diff changeset
18 ]],
8fea875fffee Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents: 10687
diff changeset
19 [posix_spawn_ported=no],
8fea875fffee Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents: 10687
diff changeset
20 [posix_spawn_ported=yes])
8fea875fffee Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents: 10687
diff changeset
21 AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes])
10687
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 Makefile.am:
11269
8fea875fffee Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents: 10687
diff changeset
24 if POSIX_SPAWN_PORTED
10687
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 TESTS += test-posix_spawn3
8ddeb7137f43 Tests for posix_spawn function.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 check_PROGRAMS += test-posix_spawn3
11269
8fea875fffee Avoid errors from posix_spawn on platforms where it is not yet ported to.
Bruno Haible <bruno@clisp.org>
parents: 10687
diff changeset
27 endif