aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/parser/setup-teardown.test
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/test/script/parser/setup-teardown.test')
-rw-r--r--unit-tests/test/script/parser/setup-teardown.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/unit-tests/test/script/parser/setup-teardown.test b/unit-tests/test/script/parser/setup-teardown.test
new file mode 100644
index 0000000..fa940fd
--- /dev/null
+++ b/unit-tests/test/script/parser/setup-teardown.test
@@ -0,0 +1,7 @@
+$* <"+cmd;" 2>>EOE != 0 # semi-after-setup
+testscript:1:5: error: expected newline instead of ';'
+EOE
+
+$* <"-cmd;" 2>>EOE != 0 # semi-after-tdown
+testscript:1:5: error: expected newline instead of ';'
+EOE