tests: avoid test failure on Solaris 10 due to lack of PATH export
authorJim Meyering <meyering@redhat.com>
Sat, 13 Nov 2010 11:57:19 +0000 (12:57 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 13 Nov 2010 11:57:19 +0000 (12:57 +0100)
* tests/test-update-copyright.sh: Don't forget to export PATH.

ChangeLog
tests/test-update-copyright.sh

index 5656ded..bc79dcb 100644 (file)
--- 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
index fbf4f23..ea700c9 100755 (executable)
@@ -25,6 +25,7 @@ fi
 
 # 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