diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-10-27 12:25:33 +0300 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:36 +0200 |
commit | 2b8601ca72b7b3cbb3b76d96102e9607efab16b7 (patch) | |
tree | 129e013ff1162a788f265dea3dd28fd794a8a94b /unit-tests | |
parent | edd5e517be41effbe760f4e5b5743a431c8344e6 (diff) |
Fix test command merge redirect parsing and testing
Diffstat (limited to 'unit-tests')
-rw-r--r-- | unit-tests/test/script/parser/redirect.test | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/unit-tests/test/script/parser/redirect.test b/unit-tests/test/script/parser/redirect.test index 3497fd9..f7dbdbc 100644 --- a/unit-tests/test/script/parser/redirect.test +++ b/unit-tests/test/script/parser/redirect.test @@ -19,15 +19,13 @@ EOO $* <<EOI 2>>EOE != 0 # out-merge-fail1 cmd 1>&a EOI -testscript:1:8: error: invalid stdout merge redirect file descriptor 'a' - info: must be 2 +testscript:1:8: error: stdout merge redirect file descriptor must be 2 EOE $* <<EOI 2>>EOE != 0 # out-merge-fail2 cmd 1>&1 EOI -testscript:1:8: error: invalid stdout merge redirect file descriptor '1' - info: must be 2 +testscript:1:8: error: stdout merge redirect file descriptor must be 2 EOE $* <<EOI 2>>EOE != 0 # out-merge-fail3 @@ -51,15 +49,13 @@ EOO $* <<EOI 2>>EOE != 0 # err-merge-fail1 cmd 2>&2 EOI -testscript:1:8: error: invalid stderr merge redirect file descriptor '2' - info: must be 1 +testscript:1:8: error: stderr merge redirect file descriptor must be 1 EOE $* <<EOI 2>>EOE != 0 # err-merge-fail2 cmd 2>&2 EOI -testscript:1:8: error: invalid stderr merge redirect file descriptor '2' - info: must be 1 +testscript:1:8: error: stderr merge redirect file descriptor must be 1 EOE $* <<EOI 2>>EOE != 0 # err-merge-fail3 @@ -71,6 +67,5 @@ EOE $* <<EOI 2>>EOE != 0 # merge-fail1 cmd 1>&2 2>&1 EOI -testscript:1:14: error: stdout and stderr merge redirects - info: should not be specified both +testscript:1:14: error: stdout and stderr redirected to each other EOE |