autoconf-patches
[Top][All Lists]
Advanced

[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:


From: Stefano Lattarini
Subject: [PATCH] tests: fix spurious failure due to Solaris XPG4 sh bug (was: Re: [GNU Autoconf 2.68b.7-3b78f] testsuite: 74 75 209 failed)
Date: 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
  status: 1

The failure only takes place with /bin/ksh and /usr/xpg4/bin/sh:

  $ /bin/sh script; echo status: $?
  status: 0
  $ /usr/local/bin/dash script; echo status: $?
  status: 0
  $ /bin/bash script; echo status: $?
  status: 0

What's going on there?  Anyway, the attached patch (already pushed to
master) fixes the issue.

Regards,
  Stefano

Attachment: 0001-tests-fix-spurious-failure-due-to-Solaris-XPG4-sh-bu.patch
Description: Text Data


reply via email to

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