pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/regress/make-quoting/files Simplified the testcase.
details: https://anonhg.NetBSD.org/pkgsrc/rev/30127c86c7d5
branches: trunk
changeset: 497615:30127c86c7d5
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Aug 01 01:02:05 2005 +0000
description:
Simplified the testcase.
diffstat:
regress/make-quoting/files/bug2.mk | 10 +++-------
regress/make-quoting/files/bug2.out | 3 +--
2 files changed, 4 insertions(+), 9 deletions(-)
diffs (35 lines):
diff -r 23f530d3d75b -r 30127c86c7d5 regress/make-quoting/files/bug2.mk
--- a/regress/make-quoting/files/bug2.mk Mon Aug 01 00:40:30 2005 +0000
+++ b/regress/make-quoting/files/bug2.mk Mon Aug 01 01:02:05 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bug2.mk,v 1.1 2005/08/01 00:40:30 rillig Exp $
+# $NetBSD: bug2.mk,v 1.2 2005/08/01 01:02:05 rillig Exp $
#
# This file demonstrates a subtle inconsistency that only occurs when an
# undefined variable is used in another, which is then quoted and copied
@@ -9,14 +9,10 @@
# this variable references the undefined variable
UNDEF_REF= ${UNDEFINED}
-# here the reference is quoted
-VARS+= ${UNDEF_REF:Q}
-
# and the current value is assigned to another variable
-VARS_VALUE:= ${VARS}
+UNDEF_VALUE:= ${UNDEF_REF:Q}
all:
@echo UNDEFINED=${UNDEFINED:Q}""
@echo UNDEF_REF=${UNDEF_REF:Q}""
- @echo VARS=${VARS:Q}""
- @echo VARS_VALUE=${VARS_VALUE:Q}""
+ @echo UNDEF_VALUE=${UNDEF_VALUE:Q}""
diff -r 23f530d3d75b -r 30127c86c7d5 regress/make-quoting/files/bug2.out
--- a/regress/make-quoting/files/bug2.out Mon Aug 01 00:40:30 2005 +0000
+++ b/regress/make-quoting/files/bug2.out Mon Aug 01 01:02:05 2005 +0000
@@ -1,4 +1,3 @@
UNDEFINED=
UNDEF_REF=
-VARS=
-VARS_VALUE=\{UNDEFINED\}
+UNDEF_VALUE=\{UNDEFINED\}
Home |
Main Index |
Thread Index |
Old Index