diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-11-02 22:22:09 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-11-09 21:45:02 +0300 |
commit | fca95dafaaab44d3e06e10bc9f3b45d00c82301f (patch) | |
tree | 69f59c57b0aa6100e01264a5d10e6a155ffff79e /tests/test/script/runner/set.testscript | |
parent | f34dd20fb7578874925dacf21b32338af50e8c12 (diff) |
Use diag_buffer in script
Diffstat (limited to 'tests/test/script/runner/set.testscript')
-rw-r--r-- | tests/test/script/runner/set.testscript | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/tests/test/script/runner/set.testscript b/tests/test/script/runner/set.testscript index b22e3f0..ff77f6f 100644 --- a/tests/test/script/runner/set.testscript +++ b/tests/test/script/runner/set.testscript @@ -300,7 +300,7 @@ $c <<EOI && $b 2>>~%EOE% != 0 $* -o 'foo' -l 10 | env -t 1 -- set bar EOI - %testscript:.*: error: set terminated: execution timeout expired% + %testscript:.*: error: .+driver.* terminated: execution timeout expired% %. EOE @@ -326,21 +326,18 @@ echo "$s" >=f; $* -o 'foo' -l 10 | cat f - | env -t 2 -- set bar EOI - %testscript:.*: error: set terminated: execution timeout expired% + %testscript:.*: error: process .+driver.* terminated: execution timeout expired% + %. + %testscript:.*: error: builtin cat terminated: execution timeout expired% %. EOE : success : - : Note that the cat builtin ends up with the 'broken pipe' diagnostics or - : similar. - : $c <<EOI && $b echo "$s" >=f; timeout --success 2; - $* -o 'foo' -l 10 | cat f - 2>>~%EOE% | set bar - %cat: .+% - EOE + $* -o 'foo' -l 10 | cat f - | set bar EOI } |