From 3c38d902b6b1a192c34a1e496384f8a482b16b25 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 29 Dec 2020 00:12:24 +0000 Subject: [PATCH] wip random flail Signed-off-by: Ian Jackson --- wdriver.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wdriver.rs b/wdriver.rs index 98b89877..218a4041 100644 --- a/wdriver.rs +++ b/wdriver.rs @@ -414,6 +414,7 @@ fn prepare_tmpdir(opts: &Opts, current_exe: &str) -> DirSubst { getcwd().context("canonicalise our tmp subdir (getcwd)")?; env::set_var("HOME", &abstmp); + env::set_var("TMPDIR", &abstmp); for v in "http_proxy https_proxy XAUTHORITY CDPATH \ SSH_AGENT_PID SSH_AUTH_SOCK WINDOWID WWW_HOME".split(' ') { @@ -467,7 +468,7 @@ fn fork_something_which_prints(mut cmd: Command, for l in report { let l : Result = l; let l = l.context("reading further output")?; - const MAXLEN : usize = 200; + const MAXLEN : usize = 300; if l.len() <= MAXLEN { println!("{} {}", what, l); } else { -- 2.30.2