From: Ian Jackson Date: Wed, 2 Jun 2021 17:01:13 +0000 (+0100) Subject: sshkeys: Tests restricted command a bit more X-Git-Tag: otter-0.7.0~96 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b91fa14033675d9570ecce97fb8c10f92ebaf4c4;p=otter.git sshkeys: Tests restricted command a bit more Signed-off-by: Ian Jackson --- diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index 45171e1b..2afe522a 100644 --- 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:")?)?; } }