Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Test Failures



"Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx> writes:
> On Mar 28,  3:24pm, Vin Shelton wrote:
> }
> } Recently (starting I think on March 26), this failure appeared
>
> That would make sense, as the test in question was added on March 26.

Blush.

>
> } ***************
> } *** 1,2 ****
> } - 1) one     2) two     3) three   
> }   input> input> 
> } --- 1 ----
> } Was testing: `select' loop
>
> It looks like the test is working correctly (in the sense that it reads
> the input and chooses the right item from the list) except that the list
> of choices is not being printed to stderr where the test code expects to
> see it.
>
> This may be happening because loop.c:selectlist() is still using the global
> variable `columns' (usually initialized from the terminal size) to decide
> how wide a list to print, even when the input to the select loop is not
> coming from a terminal and the output is not to a terminal.
>
> That's only a guess, though, because this test passes on machines to which
> I have access.

OK, FWIW, I see the failure on both Solaris 5.5 and 5.8 at work, and
on my linux box:

: ~ Sun 30 14:55; uname -a
Linux zion.rcn.com 2.4.21-0.13mdkcustom #4 SMP Sat Mar 8 23:08:38 EST 2003 i686 unknown unknown GNU/Linux

here at home.

  - Vin



Messages sorted by: Reverse Date, Date, Thread, Author