spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 19 | 19 | |
total | 19 | 19 | |
case | osh | osh-cpp | description |
0 | pass | pass | Append string to string |
1 | pass | pass | Append array to array |
2 | pass | pass | Append string to undefined variable |
3 | pass | pass | Append to array to undefined variable |
4 | pass | pass | error: s+=(my array) |
5 | pass | pass | error: myarray+=s |
6 | pass | pass | typeset s+=(my array) |
7 | pass | pass | error: typeset myarray+=s |
8 | pass | pass | error: append used like env prefix |
9 | pass | pass | myarray[1]+=s - Append to element |
10 | pass | pass | myarray[-1]+=s - Append to last element |
11 | pass | pass | Try to append list to element |
12 | pass | pass | Strings have value semantics, not reference semantics |
13 | pass | pass | typeset s+= |
14 | pass | pass | typeset s${dyn}+= |
15 | pass | pass | export readonly += |
16 | pass | pass | local += |
17 | pass | pass | assign builtin appending array: declare d+=(d e) |
18 | pass | pass | export+=array disallowed (strict_array) |
38 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped