summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/engine/SCons/SubstTests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/SCons/SubstTests.py b/src/engine/SCons/SubstTests.py
index 6604128..fcd77df 100644
--- a/src/engine/SCons/SubstTests.py
+++ b/src/engine/SCons/SubstTests.py
@@ -336,6 +336,10 @@ class scons_subst_TestCase(SubstTestCase):
# Test double-dollar-sign behavior.
"$$FFF$HHH", "$FFFIII",
+ # Test double-dollar-sign before open paren. It's not meant
+ # to be signature escaping
+ 'echo $$(pwd) > XYZ', 'echo $(pwd) > XYZ',
+
# Test that a Literal will stop dollar-sign substitution.
"$XXX $LITERAL $FFF", "GGG $XXX GGG",