From 2b6bbad4dbc7d14bc0fca8eec41e6bfa35453537 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 24 May 2007 12:26:39 +0000 Subject: hush: add 2 tests for correct syntax error reporting --- shell/hush_test/hush-misc/syntax_err.right | 1 + shell/hush_test/hush-misc/syntax_err.tests | 1 + 2 files changed, 2 insertions(+) create mode 100644 shell/hush_test/hush-misc/syntax_err.right create mode 100755 shell/hush_test/hush-misc/syntax_err.tests (limited to 'shell/hush_test') 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` -- cgit v1.2.3