| status | ysh | ysh-cpp | |
| pass | 17 | 16 | |
| FAIL | 0 | 1 | |
| total | 17 | 17 | |
| case | ysh | ysh-cpp | description |
| 0 | pass | pass | shell array :| a 'b c' | |
| 1 | pass | pass | empty array and simple_word_eval (regression test) |
| 2 | pass | pass | Shell arrays support tilde detection, static globbing, brace detection |
| 3 | pass | pass | Basic List, a[42] a['42'] allowed |
| 4 | pass | pass | Mutate List entries, a[42] a['42'] allowed |
| 5 | pass | FAIL | string array with command sub, varsub, etc. |
| details | |||
| 6 | pass | pass | Can print type of List with pp |
| 7 | pass | pass | splice and stringify array |
| 8 | pass | pass | List->extend() |
| 9 | pass | pass | List append()/extend() should return null |
| 10 | pass | pass | List pop() |
| 11 | pass | pass | List remove() removes elements |
| 12 | pass | pass | List remove() does nothing if element does not exist |
| 13 | pass | pass | List insert() |
| 14 | pass | pass | List insert() overflow |
| 15 | pass | pass | List insert() negative |
| 16 | pass | pass | List insert() negative overflow |
33 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| ysh-cpp | 5 string array with command sub, varsub, etc. [ysh-cpp stdout] Expected 'len=4\n1\nhi\nsq\ndq 1\n' Got '' [ysh-cpp status] Expected 0 Got 2 stdout: stderr: var a = :| $x $(write hi) 'sq' "dq $x" |
^
[ stdin ]:4: Invalid word while parsing command list
|