summaryrefslogtreecommitdiff
path: root/yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-08-25 13:51:08 +0100
committerLars Wirzenius <liw@liw.fi>2013-08-25 13:51:08 +0100
commitba82e75356b37ff7e248b984ca8484c9cd6d6141 (patch)
treeaf1841d1e87c6c63bff3b1e28de44b9917e096b9 /yarn
parentce2e4e11192adcfe9862a8ab4cd18dc9e6a7f339 (diff)
downloadcmdtest-ba82e75356b37ff7e248b984ca8484c9cd6d6141.tar.gz
Clean environmnet harder
Diffstat (limited to 'yarn')
-rwxr-xr-xyarn10
1 files changed, 5 insertions, 5 deletions
diff --git a/yarn b/yarn
index c13681b..3e9be0d 100755
--- a/yarn
+++ b/yarn
@@ -317,17 +317,17 @@ class YarnRunner(cliapp.Application):
'''Return a clean environment for running tests.'''
whitelisted = [
- 'TERM',
- 'USER',
- 'USERNAME',
'PATH',
- 'HOME',
- 'LOGNAME',
]
hardcoded = {
+ 'TERM': 'dumb',
'SHELL': '/bin/sh',
'LC_ALL': 'C',
+ 'USER': 'tomjon',
+ 'USERNAME': 'tomjon',
+ 'LOGNAME': 'tomjon',
+ 'HOME': '/this/path/does/not/exist',
}
env = {}