hush: add 2 tests for correct syntax error reporting
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 24 May 2007 12:26:39 +0000 (12:26 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 24 May 2007 12:26:39 +0000 (12:26 -0000)
shell/hush_test/hush-misc/syntax_err.right [new file with mode: 0644]
shell/hush_test/hush-misc/syntax_err.tests [new file with mode: 0755]

diff --git a/shell/hush_test/hush-misc/syntax_err.right b/shell/hush_test/hush-misc/syntax_err.right
new file mode 100644 (file)
index 0000000..fbf3c9f
--- /dev/null
@@ -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 (executable)
index 0000000..c990c64
--- /dev/null
@@ -0,0 +1 @@
+echo test `echo 'aa`