[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tests: avoid test failure on Solaris 10 due to lack of PATH expo
From: |
Jim Meyering |
Subject: |
[PATCH] tests: avoid test failure on Solaris 10 due to lack of PATH export |
Date: |
Sat, 13 Nov 2010 12:58:33 +0100 |
This was the sole gnulib-test failure for coreutils on Solaris 10:
--- - 2010-11-13 04:49:33.563680600 -0700
+++ update-copyright.test-ex-stderr 2010-11-13 04:49:33.544805400 -0700
@@ -1,2 +1 @@
-update-copyright.test-ex.4: warning: FSF copyright statement not found
-update-copyright.test-ex.5: warning: FSF copyright statement not found
+Can't find update-copyright on PATH.
Here's the fix:
>From 5ed7652dafac97fe2a47e7c283fe68a661a5716f Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sat, 13 Nov 2010 12:57:19 +0100
Subject: [PATCH] tests: avoid test failure on Solaris 10 due to lack of PATH
export
* tests/test-update-copyright.sh: Don't forget to export PATH.
---
ChangeLog | 3 +++
tests/test-update-copyright.sh | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5656ded..bc79dcb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2010-11-13 Jim Meyering <address@hidden>
+ 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 fbf4f23..ea700c9 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
--
1.7.3.2.4.g60aa9
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] tests: avoid test failure on Solaris 10 due to lack of PATH export,
Jim Meyering <=