diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-05-23 21:45:02 +0200 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-05-24 17:47:37 +0200 |
| commit | bbf1fd0846fa51f74ef01399ab005d4d847becce (patch) | |
| tree | 22d0afc8420ca28d0b13a82feb41e81753acf9e0 /test/script/output.et | |
| parent | 858403fc3ea0888ea748cb23b04fcefe1d21c117 (diff) | |
Diffstat (limited to 'test/script/output.et')
| -rw-r--r-- | test/script/output.et | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/script/output.et b/test/script/output.et index d3f0eea..f210490 100644 --- a/test/script/output.et +++ b/test/script/output.et @@ -22,8 +22,9 @@ test FlushOutput: expect /match p a/ expect /match-fail expect.*/ - expect /(run-.*)/ capture done - guard (done == "run-failed") + expect /run-test-result Test (.*)/ capture result + guard (result == "failed") + expect /run-done/ test IgnoreOutput: spawn as p @@ -51,5 +52,6 @@ test IgnoreOutput: expect /match p F/ expect /match-fail expect.*/ - expect /(run-.*)/ capture done - guard (done == "run-failed") + expect /run-test-result Test (.*)/ capture result + guard (result == "failed") + expect /run-done/ |