mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-09-01 23:50:44 +02:00
change to test builtin for parenthesized expressions when there are more than four arguments to test; tentative change to @A transformation to output declare commands for local variables
This commit is contained in:
@@ -494,4 +494,15 @@ t -t /dev/tty4444444...
|
||||
# fixed in bash-4.0-beta
|
||||
t -t ' '
|
||||
|
||||
# ambiguous parenthesized test expressions with more than 4 arguments
|
||||
|
||||
t true -a \( ! -a \)
|
||||
t true -a \( -n foo \)
|
||||
t true -a \( foo \)
|
||||
|
||||
t 1 = 1 -a \( \)
|
||||
t \( \)
|
||||
|
||||
t 1 = 1 -a \( \) -a -n ""
|
||||
|
||||
${THIS_SH} ./test1.sub
|
||||
|
||||
Reference in New Issue
Block a user