diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2025-09-15 21:10:39 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-09-19 19:44:28 +0200 |
commit | 89ed9a3a6c0ada2b1c252a5e24283b84eb0fa4c8 (patch) | |
tree | 5ba8a271690d43bab73fd4c86ff2702ca8afce45 /test/script/run.et | |
parent | 77fdc01b6dfa6f497ed80a46c51e227ca9bdaeed (diff) |
Add timeout argument for the ‘expect’ command
Changelog: Added `timeout` argument for the `expect` command
Diffstat (limited to 'test/script/run.et')
-rw-r--r-- | test/script/run.et | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/test/script/run.et b/test/script/run.et index dc2b812..f7e4f69 100644 --- a/test/script/run.et +++ b/test/script/run.et @@ -111,10 +111,20 @@ test CallStack: send "load ${scripts.path}/callstack.et" expect /load-done/ - send "run A" + send "run AG" expect /match-fail guard failed/ expect /match-fail-line .*\/callstack.et:3:5: .*/ expect /match-fail-var x 1/ local: expect /(run-.*)/ capture done guard (done == "run-failed") + flush + + send "run AE" + expect /match-fail expect failed/ + expect /match-fail-line .*\/callstack.et:8:5: .*/ + expect /match-fail-var x 2/ + local: + expect /(run-.*)/ capture done + guard (done == "run-failed") + flush |