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:
df3c114
)
sshkeys: Tests restricted command a bit more
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 2 Jun 2021 17:01:13 +0000
(18:01 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 2 Jun 2021 17:37:21 +0000
(18:37 +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 45171e1bd8a82972a40b31bb9de11fb47c50ef57..2afe522a7b5c08f38e85f3d40f833373f0d5b59d 100644
(file)
--- a/
apitest/at-otter.rs
+++ b/
apitest/at-otter.rs
@@
-259,6
+259,8
@@
impl Ctx {
Ok::<_,Explode>(command)
};
+ self.otter(&mk_restricted("ssh:test:sub")?)?;
+ self.otter(&mk_restricted("ssh:other:")?).expect_err("unath");
self.otter(&mk_restricted("ssh:test:")?)?;
}
}