diff options
author | Denis Vlasenko | 2007-05-24 12:26:39 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-05-24 12:26:39 +0000 |
commit | 2b6bbad4dbc7d14bc0fca8eec41e6bfa35453537 (patch) | |
tree | f309ba8e015d07d9dee980ed7dfb7df870957d15 /shell | |
parent | 0fe67b16ce7ba3d5aa0f405bf3c2541210bb5320 (diff) | |
download | busybox-2b6bbad4dbc7d14bc0fca8eec41e6bfa35453537.zip busybox-2b6bbad4dbc7d14bc0fca8eec41e6bfa35453537.tar.gz |
hush: add 2 tests for correct syntax error reporting
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush_test/hush-misc/syntax_err.right | 1 | ||||
-rwxr-xr-x | shell/hush_test/hush-misc/syntax_err.tests | 1 |
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 0000000..fbf3c9f --- /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 0000000..c990c64 --- /dev/null +++ b/shell/hush_test/hush-misc/syntax_err.tests @@ -0,0 +1 @@ +echo test `echo 'aa` |