fix: mire test fails on exit code insis sandbox

This commit is contained in:
2026-03-21 12:57:16 +00:00
parent 3964d5fc68
commit d24109e502
+1 -1
View File
@@ -228,7 +228,7 @@ func replayScenario(scenario testScenario, shellPath string, _ testIO, sandboxCo
}
defer cleanupSandbox()
cmd := exec.Command("script", "-q", "-e", "-E", "always", "-O", rawOut, "-c", shellPath)
cmd := exec.Command("script", "-q", "-E", "always", "-O", rawOut, "-c", shellPath)
cmd.Dir = scenario.dir
cmd.Env = recordSessionEnvWithExtra(sandbox, sandboxConfig, scenario.setupScripts, map[string]string{
compareMarkerEnvName: compareMarkerEnabledValue,