diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-10-28 12:27:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:36 +0200 |
commit | fac9e22e90591b4c60d0e13c10c3abccf8c96a0f (patch) | |
tree | bcca041a843efbde9cde44ff9e908f41b3a6213c /unit-tests/test/script/parser | |
parent | 39a0cc21f948b251672e1f22d393c33c57a4b649 (diff) |
Initial support for trailing description in testscript
Diffstat (limited to 'unit-tests/test/script/parser')
-rw-r--r-- | unit-tests/test/script/parser/redirect.test | 6 | ||||
-rw-r--r-- | unit-tests/test/script/parser/setup-teardown.test | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/unit-tests/test/script/parser/redirect.test b/unit-tests/test/script/parser/redirect.test index 6274669..af4295a 100644 --- a/unit-tests/test/script/parser/redirect.test +++ b/unit-tests/test/script/parser/redirect.test @@ -23,7 +23,7 @@ EOE $* <<EOI 2>>EOE !=0 # in-file-fail2 cmd <<<"" EOI -testscript:1:8: error: empty stdin redirect file path +testscript:1:8: error: empty stdin redirect path EOE $* <<EOI 2>>EOE !=0 # out-file-fail1 @@ -35,7 +35,7 @@ EOE $* <<EOI 2>>EOE !=0 # out-file-fail2 cmd >>>"" EOI -testscript:1:8: error: empty stdout redirect file path +testscript:1:8: error: empty stdout redirect path EOE $* <<EOI 2>>EOE !=0 # err-file-fail1 @@ -47,7 +47,7 @@ EOE $* <<EOI 2>>EOE !=0 # err-file-fail2 cmd 2>>>"" EOI -testscript:1:9: error: empty stderr redirect file path +testscript:1:9: error: empty stderr redirect path EOE $* <<EOI >>EOO # out-merge1 diff --git a/unit-tests/test/script/parser/setup-teardown.test b/unit-tests/test/script/parser/setup-teardown.test index 00ff2b5..57528ad 100644 --- a/unit-tests/test/script/parser/setup-teardown.test +++ b/unit-tests/test/script/parser/setup-teardown.test @@ -1,9 +1,9 @@ $* <"+cmd;" 2>>EOE != 0 # semi-after-setup -testscript:1:5: error: expected newline instead of ';' +testscript:1:5: error: ';' after setup command EOE $* <"-cmd;" 2>>EOE != 0 # semi-after-tdown -testscript:1:5: error: expected newline instead of ';' +testscript:1:5: error: ';' after teardown command EOE $* <<EOI 2>>EOE != 0 # setup-in-test |