Received: by mail.netbsd.org (Postfix, from userid 605) id 8585684DA1; Sat, 2 May 2020 06:49:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0B5F984D9B for ; Sat, 2 May 2020 06:49:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id vhPH0eK6gPmm for ; Sat, 2 May 2020 06:48:59 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 57E8C84D7F for ; Sat, 2 May 2020 06:48:59 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4BF07FB27; Sat, 2 May 2020 06:48:59 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_158840213926820" MIME-Version: 1.0 Date: Sat, 2 May 2020 06:48:59 +0000 From: "Roland Illig" Subject: CVS commit: pkgsrc/regress/infra-unittests To: pkgsrc-changes@NetBSD.org Reply-To: rillig@netbsd.org X-Mailer: log_accum Message-Id: <20200502064859.4BF07FB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_158840213926820 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rillig Date: Sat May 2 06:48:59 UTC 2020 Modified Files: pkgsrc/regress/infra-unittests: subst.sh Log Message: regress/infra-unittests: add more tests for subst.mk Having quotes around the sed commands does not change their meaning. These quotes must not lead to syntax errors when parsing the shell command. This happened in mk/subst.mk r1.91 because the double quote was accidentally escaped. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 pkgsrc/regress/infra-unittests/subst.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_158840213926820 Content-Disposition: inline Content-Length: 808 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/regress/infra-unittests/subst.sh diff -u pkgsrc/regress/infra-unittests/subst.sh:1.30 pkgsrc/regress/infra-unittests/subst.sh:1.31 --- pkgsrc/regress/infra-unittests/subst.sh:1.30 Sat May 2 05:52:09 2020 +++ pkgsrc/regress/infra-unittests/subst.sh Sat May 2 06:48:59 2020 @@ -1,5 +1,5 @@ #! /bin/sh -# $NetBSD: subst.sh,v 1.30 2020/05/02 05:52:09 rillig Exp $ +# $NetBSD: subst.sh,v 1.31 2020/05/02 06:48:59 rillig Exp $ # # Tests for mk/subst.mk. # @@ -1222,6 +1222,8 @@ if test_case_begin "identity substitutio 'SUBST_CLASSES+= id' \ 'SUBST_FILES.id= file' \ 'SUBST_SED.id= -e s,before,before,' \ + 'SUBST_SED.id+= -e "s,before,before,"' \ + "SUBST_SED.id+= -e 's,before,before,'" \ 'SUBST_NOOP_OK.id= no' \ '' \ '.include "prepare-subst.mk"' \ --_----------=_158840213926820--