From: Jim Meyering Date: Sat, 13 Nov 2010 11:57:19 +0000 (+0100) Subject: tests: avoid test failure on Solaris 10 due to lack of PATH export X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ed7652dafac97fe2a47e7c283fe68a661a5716f;p=pspp tests: avoid test failure on Solaris 10 due to lack of PATH export * tests/test-update-copyright.sh: Don't forget to export PATH. --- diff --git a/ChangeLog b/ChangeLog index 5656ded978..bc79dcb234 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-11-13 Jim Meyering + 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 diff --git a/tests/test-update-copyright.sh b/tests/test-update-copyright.sh index fbf4f23bb4..ea700c902b 100755 --- a/tests/test-update-copyright.sh +++ b/tests/test-update-copyright.sh @@ -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