raco test: fix --process without --fresh-user

This commit is contained in:
Matthew Flatt 2014-06-03 09:20:17 +01:00
parent 0b5fbc17c9
commit 85c8f271cb

View File

@ -208,15 +208,16 @@
[current-custodian c] [current-custodian c]
[current-environment-variables (environment-variables-copy [current-environment-variables (environment-variables-copy
(current-environment-variables))]) (current-environment-variables))])
(environment-variables-set! (current-environment-variables) (when fresh-user?
#"PLTUSERHOME" (environment-variables-set! (current-environment-variables)
(path->bytes tmp-dir)) #"PLTUSERHOME"
(environment-variables-set! (current-environment-variables) (path->bytes tmp-dir))
#"TMPDIR" (environment-variables-set! (current-environment-variables)
(path->bytes tmp-dir)) #"TMPDIR"
(environment-variables-set! (current-environment-variables) (path->bytes tmp-dir))
#"PLTADDONDIR" (environment-variables-set! (current-environment-variables)
(path->bytes (find-system-path 'addon-dir))) #"PLTADDONDIR"
(path->bytes (find-system-path 'addon-dir))))
(apply process*/ports (apply process*/ports
stdout stdout
stdin stdin