diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-24 12:26:39 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-24 12:26:39 +0000 |
commit | 2b6bbad4dbc7d14bc0fca8eec41e6bfa35453537 (patch) | |
tree | f309ba8e015d07d9dee980ed7dfb7df870957d15 /shell/hush_test | |
parent | 0fe67b16ce7ba3d5aa0f405bf3c2541210bb5320 (diff) |
hush: add 2 tests for correct syntax error reporting
Diffstat (limited to 'shell/hush_test')
-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 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` |