Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2010 20:53:24 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r211973 - head/tools/regression/bin/sh/builtins
Message-ID:  <201008292053.o7TKrOUx074209@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Sun Aug 29 20:53:24 2010
New Revision: 211973
URL: http://svn.freebsd.org/changeset/base/211973

Log:
  sh: Weaken builtins/command4 test to only require a nonzero exit status.
  
  This matches what is in POSIX; various other shells use different exit
  statuses.
  
  Note that it is still required that there be no output.

Added:
  head/tools/regression/bin/sh/builtins/command4.0
     - copied, changed from r210462, head/tools/regression/bin/sh/builtins/command4.127
Deleted:
  head/tools/regression/bin/sh/builtins/command4.127

Copied and modified: head/tools/regression/bin/sh/builtins/command4.0 (from r210462, head/tools/regression/bin/sh/builtins/command4.127)
==============================================================================
--- head/tools/regression/bin/sh/builtins/command4.127	Sun Jul 25 10:06:56 2010	(r210462, copy source)
+++ head/tools/regression/bin/sh/builtins/command4.0	Sun Aug 29 20:53:24 2010	(r211973)
@@ -1,2 +1,2 @@
 # $FreeBSD$
-command -v nonexisting
+! command -v nonexisting



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008292053.o7TKrOUx074209>