diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-01-14 19:11:16 +0100 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-01-14 19:49:14 +0100 |
| commit | ea8109cef731b2c876b9effa759763bf59d878aa (patch) | |
| tree | 5464409e2c045e2c14cb66443e745dc92f9015a3 /test/asset/output | |
| parent | 11894ca067981b44a1c17612b8d85144d71f30a3 (diff) | |
Mark ignored output lines
Changelog: Mark flushed or ignored output lines
Diffstat (limited to 'test/asset/output')
| -rw-r--r-- | test/asset/output/flush.et | 13 | ||||
| -rw-r--r-- | test/asset/output/ignore.et | 20 |
2 files changed, 33 insertions, 0 deletions
diff --git a/test/asset/output/flush.et b/test/asset/output/flush.et new file mode 100644 index 0000000..0051dfd --- /dev/null +++ b/test/asset/output/flush.et @@ -0,0 +1,13 @@ +test Test: + node n + shell on n as p: + echo a + echo b + echo c + echo d + echo e + with p: + expect /e/ + flush matching /[b-z]/ + expect /.*/ + expect /.*/ timeout 0.0 diff --git a/test/asset/output/ignore.et b/test/asset/output/ignore.et new file mode 100644 index 0000000..cc70e3b --- /dev/null +++ b/test/asset/output/ignore.et @@ -0,0 +1,20 @@ +test Test: + node n + shell on n as p: + echo a + echo b + echo c + echo d + grep -q . + echo e + echo F + echo g + echo H + with p: + expect /d/ + ignore matching /[b-z]/ + send "x" + expect /.*/ + expect /H/ + expect /F/ + expect /.*/ timeout 0.0 |