From owner-freebsd-bugs@FreeBSD.ORG Thu Aug 17 13:20:22 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA39E16A4DA for ; Thu, 17 Aug 2006 13:20:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7521943D53 for ; Thu, 17 Aug 2006 13:20:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7HDKM6K009779 for ; Thu, 17 Aug 2006 13:20:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7HDKMx8009776; Thu, 17 Aug 2006 13:20:22 GMT (envelope-from gnats) Date: Thu, 17 Aug 2006 13:20:22 GMT Message-Id: <200608171320.k7HDKMx8009776@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Florian Meister Cc: Subject: Re: bin/102184: the -n switch of the test command does not work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Florian Meister List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 13:20:23 -0000 The following reply was made to PR bin/102184; it has been noted by GNATS. From: Florian Meister To: Florian Meister Cc: Maxim Konovalov , bug-followup@freebsd.org Subject: Re: bin/102184: the -n switch of the test command does not work Date: Thu, 17 Aug 2006 15:10:11 +0200 sorry - typo ... i used -f ... > maybe a shell problem - what shell do you use ? > > when I do the following I can also reproduce the error: > > --snip-- > tpextu02# set testvar="lala"; [ -f $lala ]; echo $? > 1 > tpextu02# set testvar="" ; [ -f $lala ] ; echo $? > 1 > tpextu02# [ -f "lala" ] ; echo $? > 1 > tpextu02# [ -f "" ] ; echo $? > 1 > --snap-- > > bye, florian >