summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-01-11 19:51:43 +0100
committerBruno Haible <bruno@clisp.org>2023-01-11 19:51:43 +0100
commit8403a25898326e0214a3e0a94f1aaed991b708c6 (patch)
tree9b7a89d2dbb9b7c31ec5465f815f825baf562a5c /modules
parente0fbc775a3d6e6d96b1619eb9a99d58e1ea06754 (diff)
downloadgnulib-8403a25898326e0214a3e0a94f1aaed991b708c6.tar.gz
posix_spawn_file_actions_addfchdir tests: Fix test failure on Android.
* tests/test-posix_spawn-fchdir.c: Include xvasprintf.h. (test): On Android, use "/proc" instead of "/". (main): Determine the relative location of the 'pwd' program accordingly. * modules/posix_spawn_file_actions_addfchdir-tests (Depends-on): Add xvasprintf.
Diffstat (limited to 'modules')
-rw-r--r--modules/posix_spawn_file_actions_addfchdir-tests1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/posix_spawn_file_actions_addfchdir-tests b/modules/posix_spawn_file_actions_addfchdir-tests
index d32dbba2ae..5f41961ab2 100644
--- a/modules/posix_spawn_file_actions_addfchdir-tests
+++ b/modules/posix_spawn_file_actions_addfchdir-tests
@@ -11,6 +11,7 @@ posix_spawn_file_actions_destroy
posix_spawnp-tests
stdbool
findprog
+xvasprintf
configure.ac:
AC_EGREP_CPP([notposix], [[