Skip to content

Commit 3dfda21

Browse files
committed
test(goal): mark dead-pid helper child mutable
Child::wait needs a mutable Child; the unix leftover-temp regression was not compiling under libtest. Co-authored-by: Mathis <echobt@users.noreply.github.com>
1 parent 88cb527 commit 3dfda21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cortex-engine/src/goal/persist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ mod tests {
307307
#[cfg(unix)]
308308
#[test]
309309
fn load_removes_tmp_owned_by_dead_process() {
310-
let child = std::process::Command::new("true")
310+
let mut child = std::process::Command::new("true")
311311
.spawn()
312312
.expect("spawn short-lived helper");
313313
let pid = child.id();

0 commit comments

Comments
 (0)