diff --git a/proxmox-sys/tests/xattr.rs b/proxmox-sys/tests/xattr.rs index 02d43934..42d7cdd5 100644 --- a/proxmox-sys/tests/xattr.rs +++ b/proxmox-sys/tests/xattr.rs @@ -14,6 +14,7 @@ fn test_fsetxattr_fgetxattr() { let file = OpenOptions::new() .write(true) .create(true) + .truncate(true) .open(&path) .unwrap();