From: Junio C Hamano Date: Fri, 27 Feb 2009 20:05:44 GMT Subject: Re: git-1.6.2-rc2 problems on t4034-diff-words.sh Message-ID: <7vwsbbir1j.fsf@gitster.siamese.dyndns.org> In-Reply-To: Boyd Lynn Gerber writes: > Does the test suite use bash as it's shell? I seem to have to use > bash now to run the test. I do not remember having to use bash on > earlier 1.6.0 If your /bin/sh is not POSIX enough, you may be using a different shell when building the scripted commands in the main Makefile by setting SHELL_PATH. The tests are supposed to use the same one as that. > I have to use bash to run the test or I get > > $ ./t4034-diff-words.sh > ./t4034-diff-words.sh: syntax error at line 52: `(' unexpected The open parenthesis on line 52 is the one between h and 4 here: cat > expect <<\EOF diff --git a/pre b/post index 330b04f..5ed8eff 100644 --- a/pre +++ b/post @@ -1,3 +1,7 @@ h(4)h(4),hh[44] a = b + c aa = a aeff = aeff * ( aaa ) EOF Perhaps your shell has a broken here-text?