summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/UtilTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-08-20 12:44:02 (GMT)
committerSteven Knight <knight@baldmt.com>2005-08-20 12:44:02 (GMT)
commitcfcbeb6ff0607e5a573768eb1dbaef6fe86089a2 (patch)
treee8e031b63ffbd10f59613892e5ee10c08e223ffe /src/engine/SCons/UtilTests.py
parent363f4dd969747edcc783584138a8daf018417a47 (diff)
downloadSCons-cfcbeb6ff0607e5a573768eb1dbaef6fe86089a2.zip
SCons-cfcbeb6ff0607e5a573768eb1dbaef6fe86089a2.tar.gz
SCons-cfcbeb6ff0607e5a573768eb1dbaef6fe86089a2.tar.bz2
Handle files with white space when in temporary files. (Stanislav Baranov)
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 6236038..ce9fd56 100644
--- a/src/engine/SCons/UtilTests.py
+++ b/src/engine/SCons/UtilTests.py
@@ -325,6 +325,9 @@ class UtilTestCase(unittest.TestCase):
# Tests callables that don't match our calling arguments.
'$CALLABLE', 'callable-1',
+
+ # Test handling of quotes.
+ 'aaa "bbb ccc" ddd', 'aaa "bbb ccc" ddd',
]
kwargs = {'target' : target, 'source' : source,
@@ -717,6 +720,9 @@ class UtilTestCase(unittest.TestCase):
# Test callables that don't match our calling arguments.
'$CALLABLE', [['callable-2']],
+
+ # Test handling of quotes.
+ 'aaa "bbb ccc" ddd', [['aaa', 'bbb ccc', 'ddd']],
]
gvars = env.Dictionary()