diff options
Diffstat (limited to 'shell/hush_test/hush-parsing')
-rw-r--r-- | shell/hush_test/hush-parsing/brace1.right | 7 | ||||
-rwxr-xr-x | shell/hush_test/hush-parsing/brace1.tests | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/brace1.right b/shell/hush_test/hush-parsing/brace1.right new file mode 100644 index 000000000..8619f45d3 --- /dev/null +++ b/shell/hush_test/hush-parsing/brace1.right | |||
@@ -0,0 +1,7 @@ | |||
1 | {abc} | ||
2 | { | ||
3 | } | ||
4 | hush: can't execute '{cmd': No such file or directory | ||
5 | hush: can't execute '{': No such file or directory | ||
6 | hush: can't execute '{': No such file or directory | ||
7 | Done: 127 | ||
diff --git a/shell/hush_test/hush-parsing/brace1.tests b/shell/hush_test/hush-parsing/brace1.tests new file mode 100755 index 000000000..2b45927c0 --- /dev/null +++ b/shell/hush_test/hush-parsing/brace1.tests | |||
@@ -0,0 +1,7 @@ | |||
1 | echo {abc} | ||
2 | echo { | ||
3 | echo } | ||
4 | {cmd | ||
5 | ""{ | ||
6 | {"" | ||
7 | echo Done: $? | ||