mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 12:40:42 +02:00
a select command invalid selection variable name is now a fatal error in posix mode; many test suite additions
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
: ${THIS_SH:=./bash}
|
||||
|
||||
# all parse errors
|
||||
${THIS_SH} -c '[[ ( -n xx' bash
|
||||
${THIS_SH} -c '[[ ( -n xx )' bash
|
||||
|
||||
${THIS_SH} -c '[[ ( -t X ) ]' bash
|
||||
|
||||
${THIS_SH} -c '[[ -n &' bash
|
||||
${THIS_SH} -c '[[ -n XX &' bash
|
||||
${THIS_SH} -c '[[ -n XX & ]' bash
|
||||
|
||||
${THIS_SH} -c '[[ 4 & ]]' bash
|
||||
${THIS_SH} -c '[[ 4 > & ]]' bash
|
||||
|
||||
${THIS_SH} -c '[[ & ]]' bash
|
||||
${THIS_SH} -c '[[ -Q 7 ]]' bash
|
||||
${THIS_SH} -c '[[ -n < ]]' bash
|
||||
|
||||
|
||||
Reference in New Issue
Block a user