From e1bc907a9213468a27b67a715b46524009daf6fb Mon Sep 17 00:00:00 2001 From: William Deegan Date: Sat, 30 Sep 2017 18:06:30 -0700 Subject: Add test for another subst dollar escaping situation. In this case 34120( is getting translated to (escape closings). Since there is no closing $) it fails with error. --- src/engine/SCons/SubstTests.py | 4 ++++ 1 file changed, 4 insertions(+) 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", -- cgit v0.12