summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-01-07 11:46:27 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2014-01-07 11:46:59 -0800
commit490acbe0bb253b84fc00f4ba07fb62e249eebcfb (patch)
tree622dada53c1038b3c8caa0df980edad10b8fdf41
parent8d93bfe929bb3762e84c6b8f18913fcf52f09c19 (diff)
downloadgnulib-490acbe0bb253b84fc00f4ba07fb62e249eebcfb.tar.gz
tests: simplify porting to Solaris 10 /bin/sh
Some test cases in 'grep' need a shell that groks '$('; export re_shell_ for their benefit. Problem reported for 'grep' by Dagobert Michelsen in <http://bugs.gnu.org/16380>. * tests/init.sh (re_shell_): Export if it's used.
-rw-r--r--ChangeLog8
-rw-r--r--tests/init.sh1
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ff71c971bb..c4246aaf76 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-01-07 Paul Eggert <eggert@cs.ucla.edu>
+
+ tests: simplify porting to Solaris 10 /bin/sh
+ Some test cases in 'grep' need a shell that groks '$(';
+ export re_shell_ for their benefit. Problem reported for 'grep'
+ by Dagobert Michelsen in <http://bugs.gnu.org/16380>.
+ * tests/init.sh (re_shell_): Export if it's used.
+
2014-01-06 Eric Blake <eblake@redhat.com>
md5, sha1, sha256, sha512: support older autoconf
diff --git a/tests/init.sh b/tests/init.sh
index b5c2e3f188..e07c39c881 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -201,6 +201,7 @@ else
*x*) opts_=-x ;;
*) opts_= ;;
esac
+ export re_shell_
exec "$re_shell_" $opts_ "$0" --no-reexec "$@"
echo "$ME_: exec failed" 1>&2
exit 127