test(entrypoint): 更新缺少 codex 指令錯誤驗證

This commit is contained in:
2026-06-24 14:01:09 +00:00
parent 94a6baae2c
commit 6f917c2fe1
+1 -1
View File
@@ -185,7 +185,7 @@ test_missing_codex_command_output() {
assert_status "$status" 1
grep -q "status=failed" "$tmpdir/github-output" || die "missing codex command failed status output"
grep -q "spawn codex ENOENT" "$tmpdir/github-output" || die "missing codex command error output"
grep -q "Unable to find codex command" "$tmpdir/github-output" || die "missing codex command error output"
[[ ! -e "$tmpdir/codex-home/auth.json" ]] || die "auth.json was not cleaned up after missing codex"
rm -rf "$tmpdir"
}