feat(xce-test-e2e-primitives): add echo command (task 1.2)

This commit is contained in:
Rongsong Shen 2026-06-19 15:38:38 +00:00
parent 481e197928
commit 7ad63e7403
2 changed files with 25 additions and 1 deletions

View file

@ -9,7 +9,7 @@
- Observable: a piped script with a bogus/failing command makes `xce_test` exit non-zero; an all-valid script exits 0; with `set continue-on-error` a failing line does not stop later lines but the final exit is still non-zero; `#`/blank lines are ignored.
- _Requirements: 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 6.1, 6.2_
- _Boundary: VerdictLoopWrapper_
- [ ] 1.2 `echo` command
- [x] 1.2 `echo` command
- Add `cmd_echo` (table-registered) that prints its argument message and returns success.
- Observable: `echo hello` emits `hello` and the command succeeds (exit unaffected).
- _Requirements: 6.3_