Date: Fri, 19 Feb 2016 16:56:07 +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: r295818 - head/bin/sh/tests/parser Message-ID: <201602191656.u1JGu7u4061322@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602191656.u1JGu7u4061322>