summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-08-01 01:02:05 +0000
committerrillig <rillig@pkgsrc.org>2005-08-01 01:02:05 +0000
commitc6a9adb014e7ad16b9e611018dea27f666321509 (patch)
treebe6cfa27382d517070333573698632452f2fe796 /regress
parentea2725d8b7fe602cc7750a9b7ebc7bff84dabea4 (diff)
downloadpkgsrc-c6a9adb014e7ad16b9e611018dea27f666321509.tar.gz
Simplified the testcase.
Diffstat (limited to 'regress')
-rw-r--r--regress/make-quoting/files/bug2.mk10
-rw-r--r--regress/make-quoting/files/bug2.out3
2 files changed, 4 insertions, 9 deletions
diff --git a/regress/make-quoting/files/bug2.mk b/regress/make-quoting/files/bug2.mk
index 851af9c5a3f..eef9f2b3d7f 100644
--- a/regress/make-quoting/files/bug2.mk
+++ b/regress/make-quoting/files/bug2.mk
@@ -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 --git a/regress/make-quoting/files/bug2.out b/regress/make-quoting/files/bug2.out
index 2ca7f0a8115..fa242bf0068 100644
--- a/regress/make-quoting/files/bug2.out
+++ b/regress/make-quoting/files/bug2.out
@@ -1,4 +1,3 @@
UNDEFINED=
UNDEF_REF=
-VARS=
-VARS_VALUE=\{UNDEFINED\}
+UNDEF_VALUE=\{UNDEFINED\}