chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d73f1cb
)
apitest: Provide OTTER_APITEST_START_DIR
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 1 Jun 2021 16:59:32 +0000
(17:59 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 1 Jun 2021 17:04:40 +0000
(18:04 +0100)
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 <ijackson@chiark.greenend.org.uk>
apitest/apitest.rs
patch
|
blob
|
history
diff --git
a/apitest/apitest.rs
b/apitest/apitest.rs
index d1db9bad7fda3e2595a4544e164ed900199f9b3a..bee1d168922b9a02c8f027305a8ca749a15f0ecc 100644
(file)
--- 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(' ')
{