summaryrefslogtreecommitdiff
path: root/yarn
diff options
context:
space:
mode:
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 = {}