test(entrypoint): 更新缺少 codex 指令錯誤驗證
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user