diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-02 14:19:30 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-02 16:09:47 +0300 |
commit | d1ab8f029560057dd17d853f2ffa4dd92780e23a (patch) | |
tree | 779c8e4cf9e1baeb9fb832eac1dd8b5a0b541c65 /tests/test/script/builtin/sed.test | |
parent | 2017c59a4a68a179e0eadc0183f0138e7964835e (diff) |
Cleanup testscript runner diagnostics
Diffstat (limited to 'tests/test/script/builtin/sed.test')
-rw-r--r-- | tests/test/script/builtin/sed.test | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/test/script/builtin/sed.test b/tests/test/script/builtin/sed.test index dbd70c4..5f3a31e 100644 --- a/tests/test/script/builtin/sed.test +++ b/tests/test/script/builtin/sed.test @@ -20,7 +20,7 @@ : missed : $c <'sed' && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: missing script EOE @@ -28,7 +28,7 @@ : missed-val : $c <'sed -e' && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: missing script EOE @@ -36,7 +36,7 @@ : empty : $c <"sed -e ''" && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: empty script EOE @@ -44,7 +44,7 @@ : multiple : $c <"sed -e 's/a//' -e 's/a//'" && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: multiple scripts EOE @@ -52,7 +52,7 @@ : invalid : $c <"sed -e 'z'" && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: only 's' command supported EOE @@ -83,7 +83,7 @@ : not-exist : $c <"sed -e 's/foo/bar/' f" && $b 2>>/~%EOE% != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr %sed: unable to edit '.+/1/f': .+% EOE @@ -91,7 +91,7 @@ : empty : $c <"sed -e 's/foo/bar/' ''" && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: invalid path '' EOE @@ -100,7 +100,7 @@ : unexpected : $c <"sed -e 's/a//' a b" && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: unexpected argument EOE @@ -121,7 +121,7 @@ : none : $c <"sed -e 's'" && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: no delimiter for 's' command EOE @@ -129,7 +129,7 @@ : invalid : $c <"sed -e 's\\'" && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: invalid delimiter for 's' command EOE @@ -141,7 +141,7 @@ : unterminated : $c <"sed -e 's/foo'" && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: unterminated 's' command regex EOE @@ -149,7 +149,7 @@ : empty : $c <"sed -e 's///'" && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: empty regex in 's' command EOE @@ -160,7 +160,7 @@ : regex errors. For example '*' is parsed successfully. : $c <"sed -e 's/foo[/bar/'" && $b 2>>/~%EOE% != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr %sed: invalid regex.*% EOE @@ -169,7 +169,7 @@ : unterminated-replacement : $c <"sed -e 's/foo/bar'" && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: unterminated 's' command replacement EOE @@ -177,7 +177,7 @@ : invalid-flags : $c <"sed -e 's/foo/bar/a'" && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: invalid 's' command flag 'a' EOE @@ -304,7 +304,7 @@ : no-file : $c <"sed -i -e 's/a/b/'" && $b 2>>/EOE != 0 - testscript:1:1: error: sed exit status 1 != 0 + testscript:1:1: error: sed exit code 1 != 0 info: stderr: test/1/stderr sed: -i option specified while reading from stdin EOE |