aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-parsing
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-parsing')
-rw-r--r--shell/hush_test/hush-parsing/brace1.right7
-rwxr-xr-xshell/hush_test/hush-parsing/brace1.tests7
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}
4hush: can't execute '{cmd': No such file or directory
5hush: can't execute '{': No such file or directory
6hush: can't execute '{': No such file or directory
7Done: 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 @@
1echo {abc}
2echo {
3echo }
4{cmd
5""{
6{""
7echo Done: $?