diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-12-26 00:41:37 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-01-05 15:30:49 +0300 |
commit | 30b7cad6fb2fc6a5d01cdc8e68c4f37f5da251b9 (patch) | |
tree | c7c9879f5d3ed7206ab522b8e2234dcab7c5cddf /tests/test/script/runner/status.test | |
parent | 3ecbf5d51b13e11a93ae5757408a27c21d804c9f (diff) |
Save diff output for {stdout,stderr}.diff
Diffstat (limited to 'tests/test/script/runner/status.test')
-rw-r--r-- | tests/test/script/runner/status.test | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/test/script/runner/status.test b/tests/test/script/runner/status.test index 6a2c06c..fc0edff 100644 --- a/tests/test/script/runner/status.test +++ b/tests/test/script/runner/status.test @@ -24,12 +24,21 @@ $b : $c <'$* -s 1 == 0'; $b 2>>~%EOE% != 0 -%testscript:1: error: \.\.[/\\]\.\.[/\\]\.\.[/\\]driver(.exe)? exit status 1 != 0% +%testscript:1: error: \.\.[/\\]\.\.[/\\]\.\.[/\\]driver(\.exe)? exit status 1 != 0% EOE : ne-false : $c <'$* -s 1 != 1'; $b 2>>~%EOE% != 0 -%testscript:1: error: \.\.[/\\]\.\.[/\\]\.\.[/\\]driver(.exe)? exit status 1 == 1% +%testscript:1: error: \.\.[/\\]\.\.[/\\]\.\.[/\\]driver(\.exe)? exit status 1 == 1% +EOE + +: error +: +$c <'$* -s 1 -e "Error"'; +$b 2>>~%EOE% != 0 +%testscript:1: error: \.\.[/\\]\.\.[/\\]\.\.[/\\]driver(\.exe)? exit status 1 != 0% +% info: stderr: test[/\\]1[/\\]stderr% +Error EOE |