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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to