summaryrefslogtreecommitdiffstats
path: root/tests/env.test
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2011-10-07 21:21:58 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2011-10-07 21:21:58 (GMT)
commitc5c57b212c3bd8e389248b2d67506ffe81ee4aaf (patch)
tree5d638a4e8ae01aa10cf75e9a6ccf1e07beaf4c5b /tests/env.test
parent8f597ec1c09daf946ff5085823b33740681550f5 (diff)
parent321e1a1cfcb736bc452074da843228e1a57858f5 (diff)
downloadtcl-c5c57b212c3bd8e389248b2d67506ffe81ee4aaf.zip
tcl-c5c57b212c3bd8e389248b2d67506ffe81ee4aaf.tar.gz
tcl-c5c57b212c3bd8e389248b2d67506ffe81ee4aaf.tar.bz2
Fix env.test, when running under wine 1.3
FossilOrigin-Name: 78d77f044fc1e3ad60f743e869b1c668f79a2924
Diffstat (limited to 'tests/env.test')
-rw-r--r--tests/env.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/env.test b/tests/env.test
index 9c417d9..9010f52 100644
--- a/tests/env.test
+++ b/tests/env.test
@@ -89,6 +89,7 @@ set printenvScript [makeFile {
SHLIB_PATH SYSTEMDRIVE SYSTEMROOT DYLD_LIBRARY_PATH DYLD_FRAMEWORK_PATH
DYLD_NEW_LOCAL_SHARED_REGIONS DYLD_NO_FIX_PREBINDING
__CF_USER_TEXT_ENCODING SECURITYSESSIONID LANG WINDIR TERM
+ CommonProgramFiles ProgramFiles
} {
lrem names $name
}
@@ -97,6 +98,7 @@ set printenvScript [makeFile {
}
exit
} printenv]
+
# [exec] is required here to see the actual environment received by child
# processes.
proc getenv {} {
@@ -119,6 +121,7 @@ foreach name [array names env] {
SYSTEMDRIVE SYSTEMROOT DYLD_LIBRARY_PATH DYLD_FRAMEWORK_PATH
DYLD_NEW_LOCAL_SHARED_REGIONS DYLD_NO_FIX_PREBINDING
SECURITYSESSIONID LANG WINDIR TERM
+ CommonProgramFiles ProgramFiles
}} {
unset env($name)
}