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:
9d0ff04
)
prefs test: Break out ssh_command ds also
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 7 Jun 2021 00:12:05 +0000
(
01:12
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 7 Jun 2021 00:19:12 +0000
(
01:19
+0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
apitest/at-otter.rs
patch
|
blob
|
history
diff --git
a/apitest/at-otter.rs
b/apitest/at-otter.rs
index 646d9794318ab0d1dcdeb93982a29b8f542d8ab6..9134b918302a99058ecf9c1a29dafe447cc3b1f4 100644
(file)
--- a/
apitest/at-otter.rs
+++ b/
apitest/at-otter.rs
@@
-249,12
+249,14
@@
impl Ctx {
let ssh_command = ds.subst(
"@src@/apitest/mock-ssh-restricted @authkeys@ '@dummy_key_data@'"
)?;
+ let ds = ds.also(&[
+ ("ssh_command", &ssh_command),
+ ]);
let mk_restricted = |account, rhs|{
let ds = ds.also(&[
("account", account),
("rhs", rhs),
- ("ssh_command", ssh_command.as_str()),
]);
let mut command = ds.gss(
"--account @account@ \