summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-24 12:26:39 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-24 12:26:39 +0000
commit2b6bbad4dbc7d14bc0fca8eec41e6bfa35453537 (patch)
treef309ba8e015d07d9dee980ed7dfb7df870957d15 /shell/hush_test
parent0fe67b16ce7ba3d5aa0f405bf3c2541210bb5320 (diff)
hush: add 2 tests for correct syntax error reporting
Diffstat (limited to 'shell/hush_test')
-rw-r--r--shell/hush_test/hush-misc/syntax_err.right1
-rwxr-xr-xshell/hush_test/hush-misc/syntax_err.tests1
2 files changed, 2 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/syntax_err.right b/shell/hush_test/hush-misc/syntax_err.right
new file mode 100644
index 000000000..fbf3c9f82
--- /dev/null
+++ b/shell/hush_test/hush-misc/syntax_err.right
@@ -0,0 +1 @@
+hush: syntax error: unterminated '
diff --git a/shell/hush_test/hush-misc/syntax_err.tests b/shell/hush_test/hush-misc/syntax_err.tests
new file mode 100755
index 000000000..c990c6475
--- /dev/null
+++ b/shell/hush_test/hush-misc/syntax_err.tests
@@ -0,0 +1 @@
+echo test `echo 'aa`