Skip to content

tests: add Linux native platform functional tests#100

Merged
zevorn merged 1 commit intomainfrom
claude/add-linux-functional-tests-nYucH
Mar 20, 2026
Merged

tests: add Linux native platform functional tests#100
zevorn merged 1 commit intomainfrom
claude/add-linux-functional-tests-nYucH

Conversation

@zevorn
Copy link
Copy Markdown
Owner

@zevorn zevorn commented Mar 20, 2026

Add 25 functional tests for the Linux native platform covering:

  • Boot banner and shell prompt (3 tests)
  • Shell commands: help, log, history, clear, remember, forget,
    memories, ai_status, ai_set, ip, quit, unknown command (15 tests)
  • KV persistence across restarts: LTM survive restart, multiple
    entries, forget persistence, AI config persistence (4 tests)
  • Signal handling: SIGTERM, SIGINT, stdin EOF graceful exit (3 tests)

Introduce RTClawLinuxTest base class that launches the native binary
as a subprocess with piped I/O and isolated HOME directory for KV
storage. Add Makefile targets: test-linux, test-linux-boot,
test-linux-shell, test-linux-kv, test-linux-signal, test-smoke-linux.

Signed-off-by: Claude noreply@anthropic.com

https://claude.ai/code/session_01WPqY3ARjvY9M6p7nB4UceQ
Signed-off-by: Claude noreply@anthropic.com

Add 25 functional tests for the Linux native platform covering:
- Boot banner and shell prompt (3 tests)
- Shell commands: help, log, history, clear, remember, forget,
  memories, ai_status, ai_set, ip, quit, unknown command (15 tests)
- KV persistence across restarts: LTM survive restart, multiple
  entries, forget persistence, AI config persistence (4 tests)
- Signal handling: SIGTERM, SIGINT, stdin EOF graceful exit (3 tests)

Introduce RTClawLinuxTest base class that launches the native binary
as a subprocess with piped I/O and isolated HOME directory for KV
storage. Add Makefile targets: test-linux, test-linux-boot,
test-linux-shell, test-linux-kv, test-linux-signal, test-smoke-linux.

Signed-off-by: Claude <noreply@anthropic.com>

https://claude.ai/code/session_01WPqY3ARjvY9M6p7nB4UceQ
Signed-off-by: Claude <noreply@anthropic.com>
@zevorn
Copy link
Copy Markdown
Owner Author

zevorn commented Mar 20, 2026

@codex

@zevorn zevorn merged commit 0e8710f into main Mar 20, 2026
11 checks passed
@zevorn zevorn deleted the claude/add-linux-functional-tests-nYucH branch March 20, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants