From owner-svn-src-head@freebsd.org Fri May 11 21:56:02 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C44BAFCFE36; Fri, 11 May 2018 21:56:02 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7444A7CE37; Fri, 11 May 2018 21:56:02 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5428D155B1; Fri, 11 May 2018 21:56:02 +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 w4BLu2xe093190; Fri, 11 May 2018 21:56:02 GMT (envelope-from jilles@FreeBSD.org) Received: (from jilles@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4BLu2HD093189; Fri, 11 May 2018 21:56:02 GMT (envelope-from jilles@FreeBSD.org) Message-Id: <201805112156.w4BLu2HD093189@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jilles set sender to jilles@FreeBSD.org using -f From: Jilles Tjoelker Date: Fri, 11 May 2018 21:56:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333507 - head/bin/sh/tests/parser X-SVN-Group: head X-SVN-Commit-Author: jilles X-SVN-Commit-Paths: head/bin/sh/tests/parser X-SVN-Commit-Revision: 333507 X-SVN-Commit-Repository: base 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.25 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, 11 May 2018 21:56:02 -0000 Author: jilles Date: Fri May 11 21:56:01 2018 New Revision: 333507 URL: https://svnweb.freebsd.org/changeset/base/333507 Log: sh: Test that backslash-newline within single-quotes is not special This works correctly, but the test may be helpful when modifying the parser. Added: head/bin/sh/tests/parser/line-cont12.0 (contents, props changed) Modified: head/bin/sh/tests/parser/Makefile Modified: head/bin/sh/tests/parser/Makefile ============================================================================== --- head/bin/sh/tests/parser/Makefile Fri May 11 21:46:53 2018 (r333506) +++ head/bin/sh/tests/parser/Makefile Fri May 11 21:56:01 2018 (r333507) @@ -74,6 +74,7 @@ ${PACKAGE}FILES+= line-cont8.0 ${PACKAGE}FILES+= line-cont9.0 ${PACKAGE}FILES+= line-cont10.0 ${PACKAGE}FILES+= line-cont11.0 +${PACKAGE}FILES+= line-cont12.0 ${PACKAGE}FILES+= no-space1.0 ${PACKAGE}FILES+= no-space2.0 ${PACKAGE}FILES+= nul1.0 Added: head/bin/sh/tests/parser/line-cont12.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/bin/sh/tests/parser/line-cont12.0 Fri May 11 21:56:01 2018 (r333507) @@ -0,0 +1,5 @@ +# $FreeBSD$ + +[ '\ +' = "\\ +" ]