diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/bre | 2 | ||||
-rwxr-xr-x | tests/ere | 2 | ||||
-rw-r--r-- | tests/init.sh | 1 | ||||
-rwxr-xr-x | tests/spencer1-locale | 2 |
4 files changed, 4 insertions, 3 deletions
@@ -16,6 +16,6 @@ fail=0 ${AWK-awk} -f $abs_top_srcdir/tests/bre.awk $abs_top_srcdir/tests/bre.tests \ > bre.script || fail=1 -. ./bre.script || fail=1 +${re_shell_-${SHELL-sh}} ./bre.script || fail=1 Exit $fail @@ -16,6 +16,6 @@ fail=0 ${AWK-awk} -f $abs_top_srcdir/tests/ere.awk $abs_top_srcdir/tests/ere.tests \ > ere.script || fail=1 -${SHELL-sh} ere.script || fail=1 +${re_shell_-${SHELL-sh}} ere.script || fail=1 Exit $fail diff --git a/tests/init.sh b/tests/init.sh index b5c2e3f1..e07c39c8 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 diff --git a/tests/spencer1-locale b/tests/spencer1-locale index 11000fe4..6484490b 100755 --- a/tests/spencer1-locale +++ b/tests/spencer1-locale @@ -18,6 +18,6 @@ ${AWK-awk} -v extra_locale=$LOCALE_FR_UTF8 \ -f "$abs_srcdir/spencer1-locale.awk" "$abs_srcdir/spencer1.tests" \ > spencer1-locale.script || fail=1 -${SHELL-sh} spencer1-locale.script || fail=1 +${re_shell_-${SHELL-sh}} spencer1-locale.script || fail=1 Exit $fail |