diff options
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/ |