Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/regress/infra-unittests regress/infra-unittests: add m...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e9a3210b3975
branches: trunk
changeset: 430585:e9a3210b3975
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat May 02 06:48:59 2020 +0000
description:
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.
diffstat:
regress/infra-unittests/subst.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 9d1cf097cd99 -r e9a3210b3975 regress/infra-unittests/subst.sh
--- a/regress/infra-unittests/subst.sh Sat May 02 06:44:26 2020 +0000
+++ b/regress/infra-unittests/subst.sh Sat May 02 06:48:59 2020 +0000
@@ -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 @@
'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"' \
Home |
Main Index |
Thread Index |
Old Index