[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FAIL: make.test
From: |
Patrick Welche |
Subject: |
Re: FAIL: make.test |
Date: |
Thu, 14 Feb 2002 20:28:01 +0000 |
User-agent: |
Mutt/1.3.19i |
On Thu, Feb 14, 2002 at 04:36:36PM +0100, Alexandre Duret-Lutz wrote:
> I managed to reproduce this (on NetBSD 1.5.2), and reduced the
> failure to the following script:
>
> % cat foo.sh
> set -e
> for x in a; do
> BAR="foo"
> false && echo true
> echo mumble
> done
> % sh -x foo.sh
> + set -e
> + BAR=foo
> + false
>
> This ought to print "mumble". It does so if you remove the loop
> or the variable assignment. So that's definitely looks like bug
> in NetBSD's sh.
>
> Could you take care of reporting this bug wherever appropriate?
> (I'm not a NetBSD user myself, and the sh man page doesn't show
> any bug-report address.)
Thank you for the analysis! A search through NetBSD's bug database shows
there is an open report bin/11542 with practically the same test case:
% cat foo.sh
set -e
for x in 1; do
false && true
done
echo "reached end"
(yes, even same file name :) )
Thank you,
Patrick
- FAIL: make.test, Patrick Welche, 2002/02/13
- Re: FAIL: make.test, Alexandre Duret-Lutz, 2002/02/13
- Re: FAIL: make.test, Patrick Welche, 2002/02/13
- Re: FAIL: make.test, Alexandre Duret-Lutz, 2002/02/13
- Re: FAIL: make.test, Patrick Welche, 2002/02/13
- Re: FAIL: make.test, Alexandre Duret-Lutz, 2002/02/13
- Re: FAIL: make.test, Patrick Welche, 2002/02/13
- Re: FAIL: make.test, Alexandre Duret-Lutz, 2002/02/14
- Re: FAIL: make.test,
Patrick Welche <=
- Re: FAIL: make.test, Patrick Welche, 2002/02/15
- Re: FAIL: make.test, Tom Tromey, 2002/02/17
- Re: FAIL: make.test, Patrick Welche, 2002/02/20