diff --git a/crates/dbx-core/src/agent_manager.rs b/crates/dbx-core/src/agent_manager.rs index 7a4b9880ff..ccd20aee58 100644 --- a/crates/dbx-core/src/agent_manager.rs +++ b/crates/dbx-core/src/agent_manager.rs @@ -77,7 +77,7 @@ mod tests { if let Some(parent) = path.parent() { fs::create_dir_all(parent).unwrap(); } - fs::write(path, b"").unwrap(); + fs::write(path, b"test executable").unwrap(); #[cfg(unix)] { use std::os::unix::fs::PermissionsExt; diff --git a/crates/dbx-core/src/connection.rs b/crates/dbx-core/src/connection.rs index 98d2fd4731..a4bb07434a 100644 --- a/crates/dbx-core/src/connection.rs +++ b/crates/dbx-core/src/connection.rs @@ -6200,7 +6200,7 @@ mod tests { if let Some(parent) = path.parent() { std::fs::create_dir_all(parent).unwrap(); } - std::fs::write(path, b"").unwrap(); + std::fs::write(path, b"test executable").unwrap(); #[cfg(unix)] { use std::os::unix::fs::PermissionsExt;