diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-11-17 01:52:51 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-11-17 12:03:36 +0300 |
commit | 83005f5c8de788f3b2fec9b186a766814004895d (patch) | |
tree | 0ecef30660bee50827bce49a87e003475e9dba0c /tests/test/script/runner/regex.testscript | |
parent | 35e4dda6c64716bc04627d7544ccb3ee9a07616e (diff) |
Print id of failed test
Diffstat (limited to 'tests/test/script/runner/regex.testscript')
-rw-r--r-- | tests/test/script/runner/regex.testscript | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test/script/runner/regex.testscript b/tests/test/script/runner/regex.testscript index 46b1872..ee4b25e 100644 --- a/tests/test/script/runner/regex.testscript +++ b/tests/test/script/runner/regex.testscript @@ -35,6 +35,7 @@ $c <'cat <foo >~/foo[/' && $b 2>>~/EOE/ != 0 /testscript:1:12: error: invalid stdout regex redirect.*/ info: regex: '/foo[/' + info: test id: 1 EOE : no-match @@ -45,6 +46,7 @@ info: stdout regex: test/1/stdout.regex info: stdin: test/1/stdin foo + info: test id: 1 EOE } @@ -129,6 +131,7 @@ EOI testscript:2:1: error: invalid syntax character 'x' in stdout regex redirect info: regex line: '/x' + info: test id: 1 EOE : invalid-char-regex @@ -140,6 +143,7 @@ EOI /testscript:2:1: error: invalid char-regex in stdout regex redirect.*/ info: regex line: '/foo[/' + info: test id: 1 EOE : invalid-line-regex @@ -152,6 +156,7 @@ EOI %testscript:4:1: error: invalid stdout regex redirect.*% info: stdout regex: test/1/stdout.regex + info: test id: 1 EOE : no-match @@ -170,6 +175,7 @@ info: stdout regex: test/1/stdout.regex info: stdin: test/1/stdin foo + info: test id: 1 EOE } } |