diff options
Diffstat (limited to 'unit-tests/directive-export-gmake.mk')
| -rw-r--r-- | unit-tests/directive-export-gmake.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/unit-tests/directive-export-gmake.mk b/unit-tests/directive-export-gmake.mk index 6e1d57c6a62d..36efc96e5114 100644 --- a/unit-tests/directive-export-gmake.mk +++ b/unit-tests/directive-export-gmake.mk @@ -1,4 +1,4 @@ -# $NetBSD: directive-export-gmake.mk,v 1.10 2025/06/28 22:39:28 rillig Exp $ +# $NetBSD: directive-export-gmake.mk,v 1.11 2026/01/02 14:21:46 rillig Exp $ # # Tests for the export directive (without leading dot), as in GNU make. @@ -104,3 +104,12 @@ export ${INDIRECT_NAME}=${INDIRECT_VALUE} .if ${:!env!:MI_NAME=*} . error .endif + + +# Quotes and other special characters are preserved. +export DQUOT="dquot" +export SQUOT='squot' +export PLAIN=plain +.if ${:!echo "\$DQUOT \$SQUOT \$PLAIN"!} != "\"dquot\" 'squot' plain" +. error +.endif |
