From b91fa14033675d9570ecce97fb8c10f92ebaf4c4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 2 Jun 2021 18:01:13 +0100 Subject: [PATCH] sshkeys: Tests restricted command a bit more Signed-off-by: Ian Jackson --- apitest/at-otter.rs | 2 ++ 1 file changed, 2 insertions(+) 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:")?)?; } } -- 2.30.2