0 | pass | pass | SETUP |
1 | pass | pass | "${a[@]}" and "${a[*]}" |
2 | pass | pass | ${a[@]} and ${a[*]} |
3 | pass | pass | 4 ways to interpolate empty array |
4 | pass | pass | empty array |
5 | pass | pass | Empty array with :- |
6 | pass | pass | nounset / set -u with empty array (bug in bash 4.3, fixed in 4.4) |
7 | pass | pass | local array |
8 | pass | pass | Command with with word splitting in array |
9 | pass | pass | space before ( in array initialization |
10 | pass | pass | array over multiple lines |
11 | pass | pass | array with invalid token |
12 | pass | pass | array with empty string |
13 | pass | pass | Retrieve index |
14 | pass | pass | Retrieve out of bounds index |
15 | pass | pass | Negative index |
16 | pass | pass | Negative index and sparse array |
17 | pass | pass | Negative index and sparse array |
18 | pass | pass | Length after unset |
19 | pass | pass | Retrieve index that is a variable |
20 | pass | pass | Retrieve index that is a variable without $ |
21 | pass | pass | Retrieve index that is a command sub |
22 | pass | pass | Retrieve array indices with ${!a} |
23 | pass | pass | Retrieve sparse array indices with ${!a} |
24 | pass | pass | ${!a[1]} is named ref in bash |
25 | pass | pass | ${!a} on array |
26 | pass | pass | All elements unquoted |
27 | pass | pass | All elements quoted |
28 | pass | pass | $* |
29 | pass | pass | "$*" |
30 | pass | pass | Interpolate array into array |
31 | pass | pass | Exporting array doesn't do anything, not even first element |
32 | pass | pass | strict_array prevents exporting array |
33 | pass | pass | Arrays can't be used as env bindings |
34 | pass | pass | Set element |
35 | pass | pass | Set element with var ref |
36 | pass | pass | Set element with array ref |
37 | pass | pass | Set array item to array |
38 | pass | pass | Slice of array with [@] |
39 | pass | pass | Negative slice begin |
40 | pass | pass | Negative slice length |
41 | pass | pass | Slice with arithmetic |
42 | pass | pass | Number of elements |
43 | pass | pass | Length of an element |
44 | pass | pass | Iteration |
45 | pass | pass | glob within array yields separate elements |
46 | pass | pass | declare array and then append |
47 | pass | pass | Array syntax in wrong place |
48 | ok | ok | Single array with :- |
| details | details | |
49 | pass | pass | Stripping a whole array unquoted |
50 | pass | pass | Stripping a whole array quoted |
51 | pass | pass | Multiple subscripts not allowed |
52 | pass | pass | Length op, index op, then transform op is not allowed |
53 | pass | pass | ${mystr[@]} and ${mystr[*]} are no-ops |
54 | pass | pass | ${mystr[@]} and ${mystr[*]} disallowed with strict_array |
55 | pass | pass | Create a "user" array out of the argv array |
56 | pass | pass | Tilde expansion within array |
57 | pass | pass | Brace Expansion within Array |
58 | pass | pass | array default |
59 | pass | pass | Singleton Array Copy and Assign. OSH can't index strings with ints |
60 | pass | pass | declare -a / local -a is empty array |
61 | pass | pass | Create sparse array |
62 | pass | pass | Create sparse array implicitly |
63 | pass | pass | Append sparse arrays |
64 | pass | pass | Slice of sparse array with [@] |
65 | pass | pass | Using an array itself as the index on LHS |
66 | pass | pass | Using an array itself as the index on RHS |
67 | pass | pass | a[$x$y] on LHS and RHS |
68 | pass | pass | Dynamic parsing of LHS a[$code]=value |
69 | pass | pass | Dynamic parsing of RHS ${a[$code]} |