summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-04-26 15:23:23 -0600
committerEric Blake <eblake@redhat.com>2011-04-27 13:23:43 -0600
commita2772ebc9c45666f0e61508bbc564373bf0fe7e0 (patch)
tree7504f46752f16bd915f3762a9bf24ff5a05cc393 /modules
parent0c631b51b5f5908decfb7c0da1f94715d6b66c33 (diff)
downloadgnulib-a2772ebc9c45666f0e61508bbc564373bf0fe7e0.tar.gz
tests: reduce dependencies
We can assume that tests won't be run from a directory with an absolute name longer than native getcwd limits. * tests/test-linkat.c (main): Use lighter-weight getcwd. * tests/test-renameat.c (main): Likewise. * modules/linkat-tests (Depends-on): Relax dependency. * modules/renameat-tests (Depends-on): Likewise. * modules/fchdir-tests (Depends-on): Likewise. Also make cloexec dependency explicit. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'modules')
-rw-r--r--modules/fchdir-tests3
-rw-r--r--modules/linkat-tests2
-rw-r--r--modules/renameat-tests2
3 files changed, 4 insertions, 3 deletions
diff --git a/modules/fchdir-tests b/modules/fchdir-tests
index 462e709211..8f82dcee43 100644
--- a/modules/fchdir-tests
+++ b/modules/fchdir-tests
@@ -4,7 +4,8 @@ tests/signature.h
tests/macros.h
Depends-on:
-getcwd
+cloexec
+getcwd-lgpl
configure.ac:
diff --git a/modules/linkat-tests b/modules/linkat-tests
index 6df4781973..c49c1b324a 100644
--- a/modules/linkat-tests
+++ b/modules/linkat-tests
@@ -8,9 +8,9 @@ Depends-on:
ignore-value
areadlink-with-size
filenamecat
+getcwd-lgpl
progname
same-inode
-xgetcwd
configure.ac:
diff --git a/modules/renameat-tests b/modules/renameat-tests
index dcef7c19d0..9e7b337d79 100644
--- a/modules/renameat-tests
+++ b/modules/renameat-tests
@@ -7,8 +7,8 @@ tests/macros.h
Depends-on:
ignore-value
filenamecat
+getcwd-lgpl
progname
-xgetcwd
configure.ac: