bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

test-vc-cvs [was: IRIX failures]


From: Eric Blake
Subject: test-vc-cvs [was: IRIX failures]
Date: Wed, 01 Sep 2010 20:04:50 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.2

[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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]