Add test for another subst dollar escaping situation. In this case 34120( is getting...
authorWilliam Deegan <bill@baddogconsulting.com>
Sun, 1 Oct 2017 01:06:30 +0000 (18:06 -0700)
committerWilliam Deegan <bill@baddogconsulting.com>
Sun, 1 Oct 2017 01:06:30 +0000 (18:06 -0700)
src/engine/SCons/SubstTests.py

index 66041280f129ca052d6e8f7ca770cbabcc017c64..fcd77df9e42907373e84455fab43bcbc00745bab 100644 (file)
@@ -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",