spec test index / oilshell.org
status | ysh | ysh_ALT | |
pass | 11 | 11 | |
FAIL | 1 | 1 | |
total | 12 | 12 | |
case | ysh | ysh_ALT | description |
0 | pass | pass | shell array :| a 'b c' | |
1 | pass | pass | empty array and simple_word_eval (regression test) |
2 | pass | pass | Empty array and assignment builtin (regression) |
3 | FAIL | FAIL | Shell arrays support tilde detection, static globbing, brace detection |
details | details | ||
4 | pass | pass | Basic List, a[42] a['42'] allowed |
5 | pass | pass | Mutate List entries, a[42] a['42'] allowed |
6 | pass | pass | string array with command sub, varsub, etc. |
7 | pass | pass | Can print type of List with pp |
8 | pass | pass | splice and stringify array |
9 | pass | pass | List->extend() |
10 | pass | pass | List append()/extend() should return null |
11 | pass | pass | List pop() |
22 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 1 failed under osh
ysh | 3 Shell arrays support tilde detection, static globbing, brace detection [ysh stdout] Expected "['/home/bob/src', 'bar.py', 'foo.py', 'andy@example.com', 'bob@example.com', '*.py']\n" Got "['/home/uke/src', 'bar.py', 'foo.py', 'andy@example.com', 'bob@example.com', '*.py']\n" stdout: ['/home/uke/src', 'bar.py', 'foo.py', 'andy@example.com', 'bob@example.com', '*.py']stderr: |
ysh_ALT | 3 Shell arrays support tilde detection, static globbing, brace detection [ysh_ALT stdout] Expected "['/home/bob/src', 'bar.py', 'foo.py', 'andy@example.com', 'bob@example.com', '*.py']\n" Got "['/home/uke/src', 'bar.py', 'foo.py', 'andy@example.com', 'bob@example.com', '*.py']\n" stdout: ['/home/uke/src', 'bar.py', 'foo.py', 'andy@example.com', 'bob@example.com', '*.py']stderr: |