hg-1.4 test, solaris: 5 errors
James C. McPherson
James.McPherson at Sun.COM
Mon Nov 9 08:27:11 CST 2009
Benoit Boissinot wrote:
> On Mon, Nov 09, 2009 at 01:53:54PM +0000, Frank Kingswood wrote:
>> rupert.thurner wrote:
>>> On 8 Nov., 18:47, "rupert.thurner" <rupert.thur... at gmail.com> wrote:
>>> you think a change from /bin/sh to /bin/bash in all tests would be
>>> acceptable to avoid such errors for once and forever?
>> In my opinion it would be better to make the scripts that run /bin/sh
>> compatible with a strict POSIX shell, removing bashisms. This is usually not
>> a big deal.
>>
>> Not everyone running Linux will have bash as /bin/sh. For example, Debian and
>> derivatives have dash as /bin/sh to improve boot times and memory use.
>
> It already contains no bashism since we run it on ubuntu very often. But
> maybe there is indeed a way to make it use bash on solaris (and /bin/sh
> everywhere else) if it helps.
Does the test output change if you are using bash v3 rather
than bash v4? We recently saw several issues logged when
build snv_126 was released, because the behaviour of
bash v4 differs from bash v3 in several areas.
James C. McPherson
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog
More information about the Mercurial-devel
mailing list