summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/UtilTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-02-04 07:43:14 (GMT)
committerSteven Knight <knight@baldmt.com>2004-02-04 07:43:14 (GMT)
commitee76a275db34fd524f5c85588c2cdffa6022778e (patch)
tree0bb9b6fb36ae0d4231e7e1bef64e2d1d5a2766dc /src/engine/SCons/UtilTests.py
parent2ae8d5022b9593ea1992f350a57010397c269c29 (diff)
downloadSCons-ee76a275db34fd524f5c85588c2cdffa6022778e.zip
SCons-ee76a275db34fd524f5c85588c2cdffa6022778e.tar.gz
SCons-ee76a275db34fd524f5c85588c2cdffa6022778e.tar.bz2
Fix a new variable expansion bug.
Diffstat (limited to 'src/engine/SCons/UtilTests.py')
-rw-r--r--src/engine/SCons/UtilTests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/SCons/UtilTests.py b/src/engine/SCons/UtilTests.py
index fb4ec09..6468949 100644
--- a/src/engine/SCons/UtilTests.py
+++ b/src/engine/SCons/UtilTests.py
@@ -296,6 +296,9 @@ class UtilTestCase(unittest.TestCase):
# Test function calls within ${}.
'$FUNCCALL', 'a xc b',
+
+ # Bug reported by Christoph Wiedemann.
+ '$xxx/bin', '/bin',
]
kwargs = {'target' : target, 'source' : source}
@@ -609,6 +612,9 @@ class UtilTestCase(unittest.TestCase):
'foo\n\nbar', [['foo'], ['bar']],
'foo \n \n bar', [['foo'], ['bar']],
'foo \nmiddle\n bar', [['foo'], ['middle'], ['bar']],
+
+ # Bug reported by Christoph Wiedemann.
+ '$xxx/bin', [['/bin']],
]
kwargs = {'target' : target, 'source' : source}