From owner-svn-src-head@freebsd.org Fri Feb 19 16:56:09 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 061EEAAE893; Fri, 19 Feb 2016 16:56:09 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C72BB1281; Fri, 19 Feb 2016 16:56:08 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1JGu7DC061325; Fri, 19 Feb 2016 16:56:07 GMT (envelope-from jilles@FreeBSD.org) Received: (from jilles@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1JGu7u4061322; Fri, 19 Feb 2016 16:56:07 GMT (envelope-from jilles@FreeBSD.org) Message-Id: <201602191656.u1JGu7u4061322@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jilles set sender to jilles@FreeBSD.org using -f From: Jilles Tjoelker Date: Fri, 19 Feb 2016 16:56:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r295818 - head/bin/sh/tests/parser X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 16:56:09 -0000 Author: jilles Date: Fri Feb 19 16:56:07 2016 New Revision: 295818 URL: https://svnweb.freebsd.org/changeset/base/295818 Log: sh: Add tests for comments in sh -c. Added: head/bin/sh/tests/parser/comment1.0 (contents, props changed) head/bin/sh/tests/parser/comment2.42 (contents, props changed) Modified: head/bin/sh/tests/parser/Makefile Modified: head/bin/sh/tests/parser/Makefile ============================================================================== --- head/bin/sh/tests/parser/Makefile Fri Feb 19 16:53:41 2016 (r295817) +++ head/bin/sh/tests/parser/Makefile Fri Feb 19 16:56:07 2016 (r295818) @@ -25,6 +25,8 @@ FILES+= alias15.0 alias15.0.stdout FILES+= and-pipe-not.0 FILES+= case1.0 FILES+= case2.0 +FILES+= comment1.0 +FILES+= comment2.42 FILES+= dollar-quote1.0 FILES+= dollar-quote2.0 FILES+= dollar-quote3.0 Added: head/bin/sh/tests/parser/comment1.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/bin/sh/tests/parser/comment1.0 Fri Feb 19 16:56:07 2016 (r295818) @@ -0,0 +1,3 @@ +# $FreeBSD$ + +${SH} -c '#' Added: head/bin/sh/tests/parser/comment2.42 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/bin/sh/tests/parser/comment2.42 Fri Feb 19 16:56:07 2016 (r295818) @@ -0,0 +1,4 @@ +# $FreeBSD$ + +${SH} -c '# +exit 42'