Date: Sun, 24 Mar 2002 16:41:58 +0700 From: Eugene Grosbein <eugen@grosbein.pp.ru> To: David Malone <dwmalone@maths.tcd.ie> 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> In-Reply-To: <20020324091640.GA54099@walton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Sun, Mar 24, 2002 at 09:16:40AM %2B0000 References: <200203240340.g2O3e3458611@freefall.freebsd.org> <20020324091640.GA54099@walton.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020324164158.A1638>