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:
ed69756
)
apitest: Fix a write() call that should be write_all()
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 31 Mar 2022 19:39:56 +0000
(20:39 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 31 Mar 2022 19:39:56 +0000
(20:39 +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 dbed7976e43c9c29aca7b757649438b9c2664754..79058df0fb5317d9d96f18d6b34c8b29d26fa2cc 100644
(file)
--- a/
apitest/at-otter.rs
+++ b/
apitest/at-otter.rs
@@
-228,7
+228,7
@@
impl Ctx {
static STATIC_TEST: &str = "# example static data -- for test\n";
File::create(ds.subst("@authkeys@")?)?
- .write(STATIC_TEST.as_bytes())?;
+ .write
_all
(STATIC_TEST.as_bytes())?;
let set_keys = ds.gss(
"--super --account ssh:test: set-ssh-keys \