summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-09-04 13:46:42 +0200
committerBruno Haible <bruno@clisp.org>2010-09-04 13:51:46 +0200
commit1deb9358a06e44b923b11a506d5fd727a8c68e25 (patch)
tree4aa1dde53148d872876a56c91983620fce171c89 /tests
parent3a8a76d5b33b734ebd2b6436c00b6770e1112e19 (diff)
downloadgnulib-1deb9358a06e44b923b11a506d5fd727a8c68e25.tar.gz
Don't augment PATH in TESTS_ENVIRONMENT.
* modules/update-copyright-tests (Makefile.am): In TESTS_ENVIRONMENT, set abs_aux_dir instead of augmenting PATH. * modules/vc-list-files-tests (Makefile.am): Likewise. * tests/test-update-copyright.sh: Augment PATH here. * tests/test-vc-list-files-cvs.sh: Augment PATH here, through path_prepend_. * tests/test-vc-list-files-git.sh: Likewise.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test-update-copyright.sh3
-rwxr-xr-xtests/test-vc-list-files-cvs.sh2
-rwxr-xr-xtests/test-vc-list-files-git.sh2
3 files changed, 5 insertions, 2 deletions
diff --git a/tests/test-update-copyright.sh b/tests/test-update-copyright.sh
index 09ade03fd1..971f651f93 100755
--- a/tests/test-update-copyright.sh
+++ b/tests/test-update-copyright.sh
@@ -27,6 +27,9 @@ else
compare() { cmp "$@"; }
fi
+# Ensure the update-copyright program gets found.
+PATH=$abs_aux_dir:$PATH
+
TMP_BASE=update-copyright.test
trap 'rm -f $TMP_BASE*' 0 1 2 3 15
diff --git a/tests/test-vc-list-files-cvs.sh b/tests/test-vc-list-files-cvs.sh
index 43a3b3fd36..f9c0fcaf46 100755
--- a/tests/test-vc-list-files-cvs.sh
+++ b/tests/test-vc-list-files-cvs.sh
@@ -17,7 +17,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ .
+. "$srcdir/init.sh"; path_prepend_ $abs_aux_dir .
tmpdir=vc-cvs
repo=`pwd`/$tmpdir/repo
diff --git a/tests/test-vc-list-files-git.sh b/tests/test-vc-list-files-git.sh
index 47576258bc..47892a5103 100755
--- a/tests/test-vc-list-files-git.sh
+++ b/tests/test-vc-list-files-git.sh
@@ -17,7 +17,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
: ${srcdir=.}
-. "$srcdir/init.sh"; path_prepend_ .
+. "$srcdir/init.sh"; path_prepend_ $abs_aux_dir .
tmpdir=vc-git-$$
GIT_DIR= GIT_WORK_TREE=; unset GIT_DIR GIT_WORK_TREE