diff --git a/proxmox-apt/tests/repositories.rs b/proxmox-apt/tests/repositories.rs index be6aafff..7ed2f110 100644 --- a/proxmox-apt/tests/repositories.rs +++ b/proxmox-apt/tests/repositories.rs @@ -130,6 +130,9 @@ fn test_digest() -> Result<(), Error> { assert!(file.write().is_err()); + // best-effort cleanup for re-builds without a `cargo clean` in between + let _ = std::fs::remove_dir_all(&write_dir); + Ok(()) }