mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-06 20:00:49 +02:00
small changes to some error messages; greatly expanded builtins tests
This commit is contained in:
+7
-5
@@ -129,7 +129,9 @@ grep [ 123 ] *
|
||||
6 7 9 5
|
||||
length = 3
|
||||
value = new1 new2 new3
|
||||
./array.tests: line 257: narray: unbound variable
|
||||
./array.tests: line 256: syntax error near unexpected token `&'
|
||||
./array.tests: line 256: `badarray=( metacharacters like & need to be quoted in compound assignments)'
|
||||
./array.tests: line 260: narray: unbound variable
|
||||
./array1.sub: line 1: syntax error near unexpected token `('
|
||||
./array1.sub: line 1: `printf "%s\n" -a a=(a 'b c')'
|
||||
./array2.sub: line 1: declare: `[]=asdf': not a valid identifier
|
||||
@@ -156,10 +158,10 @@ for case if then else
|
||||
12 14 16 18 20
|
||||
4414758999202
|
||||
aaa bbb
|
||||
./array.tests: line 307: syntax error near unexpected token `<>'
|
||||
./array.tests: line 307: `metas=( <> < > ! )'
|
||||
./array.tests: line 308: syntax error near unexpected token `<>'
|
||||
./array.tests: line 308: `metas=( [1]=<> [2]=< [3]=> [4]=! )'
|
||||
./array.tests: line 310: syntax error near unexpected token `<>'
|
||||
./array.tests: line 310: `metas=( <> < > ! )'
|
||||
./array.tests: line 311: syntax error near unexpected token `<>'
|
||||
./array.tests: line 311: `metas=( [1]=<> [2]=< [3]=> [4]=! )'
|
||||
abc 3
|
||||
case 4
|
||||
abc case if then else 5
|
||||
|
||||
Reference in New Issue
Block a user