Mercurial > gnulib
changeset 37283:a6e328964968
tests: fix export bug in previous patch
Problem reported by Jim Meyering.
* tests/init.sh (re_shell): New var, which is exported instead of
re_shell_.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 07 Jan 2014 21:43:07 -0800 |
parents | 91bedeeb7247 |
children | 4d78804b6408 |
files | ChangeLog tests/init.sh |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Jan 07 11:46:27 2014 -0800 +++ b/ChangeLog Tue Jan 07 21:43:07 2014 -0800 @@ -1,5 +1,10 @@ 2014-01-07 Paul Eggert <eggert@cs.ucla.edu> + tests: fix export bug in previous patch + Problem reported by Jim Meyering. + * tests/init.sh (re_shell): New var, which is exported instead of + re_shell_. + 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'
--- a/tests/init.sh Tue Jan 07 11:46:27 2014 -0800 +++ b/tests/init.sh Tue Jan 07 21:43:07 2014 -0800 @@ -201,7 +201,8 @@ *x*) opts_=-x ;; *) opts_= ;; esac - export re_shell_ + re_shell=$re_shell_ + export re_shell exec "$re_shell_" $opts_ "$0" --no-reexec "$@" echo "$ME_: exec failed" 1>&2 exit 127