mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-12 05:00:50 +02:00
commit bash-20210201 snapshot
This commit is contained in:
@@ -2,6 +2,7 @@ alias: 0
|
||||
alias: 0
|
||||
./alias.tests: line 38: qfoo: command not found
|
||||
quux
|
||||
hi
|
||||
bar
|
||||
value
|
||||
bar
|
||||
|
||||
@@ -49,6 +49,14 @@ foo bar
|
||||
|
||||
unalias foo bar baz
|
||||
|
||||
# post bash-5.1 problems with compound array assignment during multiline
|
||||
# alias expansion
|
||||
alias foo='a=() b=""
|
||||
for i in 1; do echo hi; done'
|
||||
foo
|
||||
|
||||
unalias foo
|
||||
|
||||
${THIS_SH} ./alias1.sub
|
||||
${THIS_SH} ./alias2.sub
|
||||
${THIS_SH} ./alias3.sub
|
||||
|
||||
@@ -176,12 +176,14 @@ after non-special builtin: 0
|
||||
./errors7.sub: line 25: x: readonly variable
|
||||
after special builtin: 0
|
||||
./errors7.sub: line 27: x: readonly variable
|
||||
./errors7.sub: line 29: x: readonly variable
|
||||
./errors7.sub: line 21: x: readonly variable
|
||||
after no such command: 1
|
||||
./errors7.sub: line 23: x: readonly variable
|
||||
after non-special builtin: 1
|
||||
./errors7.sub: line 25: x: readonly variable
|
||||
./errors7.sub: line 27: x: readonly variable
|
||||
./errors7.sub: line 29: x: readonly variable
|
||||
./errors8.sub: eval: line 7: syntax error: unexpected end of file
|
||||
ok 1
|
||||
./errors8.sub: line 8: v: readonly variable
|
||||
|
||||
@@ -26,3 +26,5 @@ echo after non-special builtin: $?
|
||||
echo after special builtin: $? )
|
||||
( x=8 $nocmd
|
||||
echo after assignment error: $? )
|
||||
( x=8
|
||||
echo after assignment statement error: $? )
|
||||
|
||||
Reference in New Issue
Block a user