mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 00:02:31 +00:00
test: cover preserved OMP launch status
This commit is contained in:
@@ -667,8 +667,9 @@ describe('tui agent startup plans', () => {
|
||||
expect(plan?.env).toEqual({ ORCA_OMP_PREFILL: 'fix the omp regression' })
|
||||
expect(plan?.expectedProcess).toBe('omp')
|
||||
expect(plan?.launchCommand).toContain(
|
||||
`omp --config "$ORCA_OMP_FRESH_CONFIG"; command test -n "$fish_pid" && set --erase -g ORCA_OMP_PREFILL; command test -z "$fish_pid" && unset ORCA_OMP_PREFILL; true`
|
||||
`omp --config "$ORCA_OMP_FRESH_CONFIG"; __orca_launch_status=$?;`
|
||||
)
|
||||
expect(plan?.launchCommand).toContain('exit $__orca_launch_status')
|
||||
})
|
||||
|
||||
it('returns null for oversized Windows flag drafts so callers paste after ready', () => {
|
||||
|
||||
Reference in New Issue
Block a user