diff options
Diffstat (limited to 'shell/hush_test')
-rw-r--r-- | shell/hush_test/hush-misc/export.right | 2 | ||||
-rw-r--r-- | shell/hush_test/hush-parsing/group1.right | 1 | ||||
-rw-r--r-- | shell/hush_test/hush-parsing/group1.tests | 1 | ||||
-rw-r--r-- | shell/hush_test/hush-vars/var_posix1.right | 2 | ||||
-rwxr-xr-x | shell/hush_test/hush-vars/var_posix1.tests | 4 |
5 files changed, 9 insertions, 1 deletions
diff --git a/shell/hush_test/hush-misc/export.right b/shell/hush_test/hush-misc/export.right index 4df2e3858..b93e503f8 100644 --- a/shell/hush_test/hush-misc/export.right +++ b/shell/hush_test/hush-misc/export.right @@ -1,5 +1,5 @@ export aaa1="'''" -export aaa2= +export aaa2='' export aaa3="'''"'abc' export aaa4='def'"'''" export aaa5="'''"'abc'"'''"'def'"'''" diff --git a/shell/hush_test/hush-parsing/group1.right b/shell/hush_test/hush-parsing/group1.right new file mode 100644 index 000000000..6a7c4be0a --- /dev/null +++ b/shell/hush_test/hush-parsing/group1.right @@ -0,0 +1 @@ +word} } diff --git a/shell/hush_test/hush-parsing/group1.tests b/shell/hush_test/hush-parsing/group1.tests new file mode 100644 index 000000000..f063fbcb3 --- /dev/null +++ b/shell/hush_test/hush-parsing/group1.tests @@ -0,0 +1 @@ +{ echo word} }; } diff --git a/shell/hush_test/hush-vars/var_posix1.right b/shell/hush_test/hush-vars/var_posix1.right index 373b16ca5..47d52a6c2 100644 --- a/shell/hush_test/hush-vars/var_posix1.right +++ b/shell/hush_test/hush-vars/var_posix1.right @@ -22,6 +22,7 @@ babcdcd babcdcd ababcdcd Empty: +ababcdcd}_tail ababcd ababcd ababcd @@ -30,4 +31,5 @@ ababcdc ababcdc ababcdcd Empty: +ababcdcd}_tail end diff --git a/shell/hush_test/hush-vars/var_posix1.tests b/shell/hush_test/hush-vars/var_posix1.tests index 0ce531d69..3069360e1 100755 --- a/shell/hush_test/hush-vars/var_posix1.tests +++ b/shell/hush_test/hush-vars/var_posix1.tests @@ -30,6 +30,8 @@ echo ${var#?} echo ${var##?} echo ${var#*} echo Empty:${var##*} +echo ${var#}}_tail +# UNFIXED BUG: echo ${var#\}}_tail echo ${var%cd} echo ${var%%cd} @@ -39,5 +41,7 @@ echo ${var%?} echo ${var%%?} echo ${var%*} echo Empty:${var%%*} +echo ${var#}}_tail +# UNFIXED BUG: echo ${var#\}}_tail echo end |