tests: include harness shutdown in the shared executable

This commit is contained in:
2026-11-07 23:08:25 +00:00
parent ab5d2417cb
commit b003a799f9
2 changed files with 3 additions and 2 deletions
@@ -33,7 +33,7 @@ async fn shutdown_child() -> anyhow::Result<()> {
receiver,
concat!(
"globalThis.foundationCase = 'shutdown';\n",
include_str!("../js/foundation-test-bundle.js")
include_str!("../../js/foundation-test-bundle.js")
),
)
.await?;
@@ -79,7 +79,7 @@ fn sigterm_cancels_tool_and_resumes() -> anyhow::Result<()> {
)?;
let spawn = || {
Command::new(std::env::current_exe().unwrap())
.args(["--exact", "shutdown_child", "--nocapture"])
.args(["--exact", "harness_shutdown::shutdown_child", "--nocapture"])
.env("SHUTDOWN_WORLD", dir.path())
.stdin(Stdio::null())
.spawn()
+1
View File
@@ -38,6 +38,7 @@ mod goal_questions;
mod harness;
mod harness_api;
mod harness_foundation;
mod harness_shutdown;
mod hook;
mod hook_api;
mod hook_git;