svn commit: r211973 - head/tools/regression/bin/sh/builtins

Jilles Tjoelker jilles at FreeBSD.org
Sun Aug 29 20:53:25 UTC 2010


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


More information about the svn-src-all mailing list