aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-05-24 12:26:39 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-05-24 12:26:39 +0000
commit7f3f8a28cf651d28a504ea2f58ba206740b804a2 (patch)
treef309ba8e015d07d9dee980ed7dfb7df870957d15 /shell
parente245b286f7845887c2f185979e94a1a2f2cfcc75 (diff)
downloadbusybox-w32-7f3f8a28cf651d28a504ea2f58ba206740b804a2.tar.gz
busybox-w32-7f3f8a28cf651d28a504ea2f58ba206740b804a2.tar.bz2
busybox-w32-7f3f8a28cf651d28a504ea2f58ba206740b804a2.zip
hush: add 2 tests for correct syntax error reporting
git-svn-id: svn://busybox.net/trunk/busybox@18682 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-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`