# HG changeset patch # User Paul Eggert # Date 1389123987 28800 # Node ID f98ee53d8e71622672065f17ee8d0c6a57de35ff # Parent cb71c6502a15170e5a91d0bb7c87df1fb40e4ca7 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 . * tests/init.sh (re_shell_): Export if it's used. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2014-01-07 Paul Eggert + + 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 . + * tests/init.sh (re_shell_): Export if it's used. + 2014-01-06 Eric Blake md5, sha1, sha256, sha512: support older autoconf diff --git a/tests/init.sh b/tests/init.sh --- a/tests/init.sh +++ b/tests/init.sh @@ -201,6 +201,7 @@ *x*) opts_=-x ;; *) opts_= ;; esac + export re_shell_ exec "$re_shell_" $opts_ "$0" --no-reexec "$@" echo "$ME_: exec failed" 1>&2 exit 127