aboutsummaryrefslogtreecommitdiff
path: root/unit-tests
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests')
-rw-r--r--unit-tests/test/script/parser/redirect.test6
-rw-r--r--unit-tests/test/script/parser/setup-teardown.test4
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