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:
ab9013d
)
sshkeys: Test that static data is included
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 2 Jun 2021 16:45:50 +0000
(17:45 +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 292bfe3409dfe7fb6371b0d302490063d4135b7d..8e6acc2faaf64e3c828ee70ac986772c6c60f19c 100644
(file)
--- a/
apitest/at-otter.rs
+++ b/
apitest/at-otter.rs
@@
-232,6
+232,10
@@
impl Ctx {
ds.subst("@authkeys@.static")?)?;
self.otter(&set_keys)?;
+
+ assert_eq!( BufReader::new(File::open(ds.subst("@authkeys@")?)?)
+ .lines().nth(2).unwrap().unwrap(),
+ STATIC_TEST.strip_suffix("\n").unwrap() );
}
}