[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tests: fix spurious failure due to Solaris XPG4 sh bug (was: Re:
[PATCH] tests: fix spurious failure due to Solaris XPG4 sh bug (was: Re: [GNU Autoconf 2.68b.7-3b78f] testsuite: 74 75 209 failed)
Sun, 04 Mar 2012 17:16:26 +0100
On 03/04/2012 04:34 PM, Stefano Lattarini wrote:
> On 03/04/2012 04:28 PM, Stefano Lattarini wrote:
>> On a Solaris 10 system:
>> ERROR: 493 tests were run,
>> 7 failed (4 expected failures).
>> 10 tests were skipped.
>> Details are attached.
> The failure of test 75 was due to a testsuite weakness; I've just committed a
> fix for that to master.
And I can reduce the failure of test 74 as follows:
$ echo '#!/bin/sh' > script
$ sh script; echo status: $?
sh: script: cannot execute
The failure only takes place with /bin/ksh and /usr/xpg4/bin/sh:
$ /bin/sh script; echo status: $?
$ /usr/local/bin/dash script; echo status: $?
$ /bin/bash script; echo status: $?
What's going on there? Anyway, the attached patch (already pushed to
master) fixes the issue.
Description: Text Data