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