From f0fc61c79ace0d06dc1b8f787c68450fc434ad53 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 1 Jun 2021 17:59:32 +0100 Subject: [PATCH] apitest: Provide OTTER_APITEST_START_DIR Nothing uses this yet, nor, it appears, is going to, but it may come in useful in the future, so let's keep it. Signed-off-by: Ian Jackson --- apitest/apitest.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/apitest/apitest.rs b/apitest/apitest.rs index d1db9bad..bee1d168 100644 --- a/apitest/apitest.rs +++ b/apitest/apitest.rs @@ -582,6 +582,7 @@ pub fn prepare_tmpdir<'x>(opts: &'x Opts, mut current_exe: &'x str) -> DirSubst env::set_var("HOME", &abstmp); env::set_var("TMPDIR", &abstmp); + env::set_var("OTTER_APITEST_START_DIR", &start_dir); for v in "http_proxy https_proxy XAUTHORITY CDPATH \ SSH_AGENT_PID SSH_AUTH_SOCK WINDOWID WWW_HOME".split(' ') { -- 2.30.2