Merge "Update needed for Rust v1.77.1" into main
diff --git a/authfs/tests/common/src/open_then_run.rs b/authfs/tests/common/src/open_then_run.rs
index a976784..e5e33eb 100644
--- a/authfs/tests/common/src/open_then_run.rs
+++ b/authfs/tests/common/src/open_then_run.rs
@@ -118,6 +118,7 @@
                 .read(true)
                 .write(true)
                 .create(true)
+                .truncate(true)
                 .open(path)
                 .with_context(|| format!("Open {} read-write", path))?,
         ))