From 1d3403b4346e8f33d5f2cba81a6077ac8c44553f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 31 Mar 2022 20:39:56 +0100 Subject: [PATCH] apitest: Fix a write() call that should be write_all() Signed-off-by: Ian Jackson --- apitest/at-otter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index dbed7976..79058df0 100644 --- 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 \ -- 2.30.2