[dropping bug-m4 for now - all of these issues are to be fixed in gnulib]
On 09/01/2010 12:48 PM, Tom G. Christensen wrote:
It wants to reexec itself with zsh:
Probably because /bin/sh lacks basic POSIX functionality.
+ exec zsh ./test-vc-list-files-cvs.sh --no-reexec
Tom, since the reexec lost all tracing, what about:
zsh -vx ./test-vc-list-files-cvs.sh
Jim, I'm wondering if init.sh should propagate v and/or x as part of the
re-exec (certainly it would make it easier to get a full trace):
opts=
case $- in
*v*) opts=v ;;
esac
case $- in
*x*) opts=x$opts ;;
esac
"$re_shell_" -c$opts "$gl_shell_test_script_" 2>/dev/null
exec "$re_shell_" ${opts:+-$opts} "$0" --no-reexec "$@"
bash 3.1.16 is also in the path but is for some reason rejected.
Hmm - I have bash 3.1.17 handy (not .16), but it passed for me on
cygwin. Tom, would you mind:
bash -cvx '
echo $BASH_VERSION
test $(echo y) = y || exit 1
test -z "$EXEEXT" && exit 9
shopt -s expand_aliases
alias a-b="echo zoo"
v=abx
test ${v%x} = ab \
&& test ${v#a} = bx \
&& test $(a-b) = zoo \
&& exit 9
'
I'm assuming that $EXEEXT is empty on your setup, and bash 3.1 supports
$(), so we shouldn't even be getting to the alias portion of the test.
--
Eric Blake ebl...@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org