changeset 13860:122eb2656442

tests: avoid test failure on Solaris 10 due to lack of PATH export * tests/test-update-copyright.sh: Don't forget to export PATH.
author Jim Meyering <meyering@redhat.com>
date Sat, 13 Nov 2010 12:57:19 +0100
parents 5977784139a5
children 2014d680b5c4
files ChangeLog tests/test-update-copyright.sh
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-11-13  Jim Meyering  <meyering@redhat.com>
 
+	tests: avoid test failure on Solaris 10 due to lack of PATH export
+	* tests/test-update-copyright.sh: Don't forget to export PATH.
+
 	init.sh: ensure that IFS is defined, just in case...
 	* tests/init.sh (setup_): Ensure that IFS is defined,
 	so that saving and restoring it works as expected.  This
--- a/tests/test-update-copyright.sh
+++ b/tests/test-update-copyright.sh
@@ -25,6 +25,7 @@
 
 # Ensure the update-copyright program gets found.
 PATH=$abs_aux_dir:$PATH
+export PATH
 
 TMP_BASE=update-copyright.test
 trap 'rm -f $TMP_BASE*' 0 1 2 3 15