From owner-freebsd-bugs Sun Mar 24 1:43:21 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from D00015.dialonly.kemerovo.su (www2.svzserv.kemerovo.su [213.184.65.86]) by hub.freebsd.org (Postfix) with ESMTP id 48B0337B41A for ; Sun, 24 Mar 2002 01:43:17 -0800 (PST) Received: (from eugen@localhost) by D00015.dialonly.kemerovo.su (8.11.6/8.11.6) id g2O9fwe01703; Sun, 24 Mar 2002 16:41:58 +0700 (KRAT) (envelope-from eugen) Date: Sun, 24 Mar 2002 16:41:58 +0700 From: Eugene Grosbein To: David Malone Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/36232: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV Message-ID: <20020324164158.A1638@grosbein.pp.ru> References: <200203240340.g2O3e3458611@freefall.freebsd.org> <20020324091640.GA54099@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020324091640.GA54099@walton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Sun, Mar 24, 2002 at 09:16:40AM +0000 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Mar 24, 2002 at 09:16:40AM +0000, David Malone wrote: > I just tried the script and wasn't able to get it to segfault. > This is on a version of -STABLE from about the end of Feburary, > but there have been no changes to sh since. > How did you invoke the script? Just say ./boom.sh Very strange. > > > cat /tmp/boom.sh > #!/bin/sh > > v1=no > if test $v1 = yes; then > else > if test $var; then > echo OK > fi > fi Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message