test: use mire to record some e2e tests for itself

This commit is contained in:
2026-03-25 21:03:13 +00:00
parent 952211ef93
commit 526e31d0b0
21 changed files with 345 additions and 2 deletions
+35
View File
@@ -0,0 +1,35 @@
[?2004h$ mire init
[?2004l
mire  Done initialising...
[?2004h$ mire record --save a
[?2004l
mire  Run commands in the recorder shell, then type exit to finish.
[?2004h$ echo one
[?2004l
one
[?2004h$ exit
[?2004l
exit
mire  Verifying recording...
mire  /home/test/e2e/a
[?2004h$ mire record --save nested/b
[?2004l
mire  Run commands in the recorder shell, then type exit to finish.
[?2004h$ echo two
[?2004l
two
[?2004h$ exit
[?2004l
exit
mire  Verifying recording...
mire  /home/test/e2e/nested/b
[?2004h$ mire test
[?2004l
mire  RUN a
mire  PASS a (12 ms)
mire  RUN nested/b
mire  PASS nested/b (12 ms)
mire  Summary: total=2 passed=2 failed=0
[?2004h$ exit
[?2004l
exit