Add a test for revision 3340, escaping variable names when using
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sat, 6 Sep 2008 14:25:07 +0000 (14:25 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sat, 6 Sep 2008 14:25:07 +0000 (14:25 +0000)
env_spawn(), to accommodate a funky variable name used by Ubuntu packagin.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3360 fdb21ef1-2011-0410-befe-b5e4ea1792b1

test/Configure/basic.py

index 677f40f3629cc3da2d04c839201fd07a1b6e8532..d4b9a5914a0594ffeff9098aac90fef78c79ab2e 100644 (file)
@@ -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