From owner-cvs-src-old@FreeBSD.ORG Thu Oct 14 23:28:50 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EF90106566B for ; Thu, 14 Oct 2010 23:28:50 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4B9B28FC17 for ; Thu, 14 Oct 2010 23:28:50 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o9ENSoWr042639 for ; Thu, 14 Oct 2010 23:28:50 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9ENSoEM042638 for cvs-src-old@freebsd.org; Thu, 14 Oct 2010 23:28:50 GMT (envelope-from obrien@repoman.freebsd.org) Message-Id: <201010142328.o9ENSoEM042638@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to obrien@repoman.freebsd.org using -f From: "David E. O'Brien" Date: Thu, 14 Oct 2010 23:28:31 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/tools/regression/bin/sh/builtins getopts1.0 getopts1.0.stdout X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2010 23:28:50 -0000 obrien 2010-10-14 23:28:31 UTC FreeBSD src repository Modified files: tools/regression/bin/sh/builtins getopts1.0 getopts1.0.stdout Log: SVN rev 213883 on 2010-10-14 23:28:31Z by obrien Embellish this testcase a little bit to be more clear what the output is and why. The first case is correct usage which has but one correct output. The 2nd and 3rd cases are incorrect usage in which the exact output is not standardized and various shells give various allowable output. Revision Changes Path 1.2 +13 -0 src/tools/regression/bin/sh/builtins/getopts1.0 1.2 +5 -0 src/tools/regression/bin/sh/builtins/getopts1.0.stdout