diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-10-01 01:06:30 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-10-01 01:06:30 (GMT) |
commit | e1bc907a9213468a27b67a715b46524009daf6fb (patch) | |
tree | 60bf4c6c4b76381ef1562bcde916e33168664fb2 /src/engine | |
parent | 0276cfb016096f44f257d8cc58804c1fec7af54b (diff) | |
download | SCons-e1bc907a9213468a27b67a715b46524009daf6fb.zip SCons-e1bc907a9213468a27b67a715b46524009daf6fb.tar.gz SCons-e1bc907a9213468a27b67a715b46524009daf6fb.tar.bz2 |
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.
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/SubstTests.py | 4 |
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", |