summaryrefslogtreecommitdiff
path: root/test/Configure
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-09-06 14:25:07 +0000
committerSteven Knight <knight@baldmt.com>2008-09-06 14:25:07 +0000
commit770c6bb8101d637c0589e510b1f81cbc4e84e2db (patch)
tree08d56e3b734709c2272d2b8c4e021c5eeafc6486 /test/Configure
parent08c8d0811ded58ca09d9bce010733a28fcd57dc5 (diff)
downloadscons-770c6bb8101d637c0589e510b1f81cbc4e84e2db.tar.gz
Add a test for revision 3340, escaping variable names when using
env_spawn(), to accommodate a funky variable name used by Ubuntu packagin.
Diffstat (limited to 'test/Configure')
-rw-r--r--test/Configure/basic.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Configure/basic.py b/test/Configure/basic.py
index 677f40f3..d4b9a591 100644
--- a/test/Configure/basic.py
+++ b/test/Configure/basic.py
@@ -43,6 +43,8 @@ test.write('SConstruct', """\
env = Environment()
import os
env.AppendENVPath('PATH', os.environ['PATH'])
+# Throw in a bad variable name intentionally used by Ubuntu packaging.
+env['ENV']['HASH(0x12345678)'] = 'Bad variable name!'
conf = Configure(env)
r1 = conf.CheckCHeader( 'math.h' )
r2 = conf.CheckCHeader( 'no_std_c_header.h' ) # leads to compile error