From 7f3f8a28cf651d28a504ea2f58ba206740b804a2 Mon Sep 17 00:00:00 2001 From: vda Date: Thu, 24 May 2007 12:26:39 +0000 Subject: hush: add 2 tests for correct syntax error reporting git-svn-id: svn://busybox.net/trunk/busybox@18682 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- 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') 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-55-g6feb