spec test index / oilshell.org
status | ysh | ysh_ALT | |
pass | 2 | 2 | |
FAIL | 2 | 2 | |
total | 4 | 4 | |
case | ysh | ysh_ALT | description |
0 | pass | pass | shSplit() respects IFS |
1 | FAIL | FAIL | getVar() gets global or local vars |
details | details | ||
2 | pass | pass | ASCII upper() lower() |
3 | FAIL | FAIL | Unicode upper() lower() |
details | details |
4 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 2 failed under osh
ysh | 1 getVar() gets global or local vars [ysh stdout] Expected 'g=global\nmylocal=43\nmylocal=43\nnot_global_or_local=null\n' Got '' [ysh status] Expected 0, got 127 stdout: stderr: my-proc ^~~~~~~ [ stdin ]:15: 'my-proc' not found (OILS-ERR-100) [ stdin ]:15: errexit PID 33867: command.Simple failed with status 127 |
ysh_ALT | 1 getVar() gets global or local vars [ysh_ALT stdout] Expected 'g=global\nmylocal=43\nmylocal=43\nnot_global_or_local=null\n' Got '' [ysh_ALT status] Expected 0, got 127 stdout: stderr: my-proc ^~~~~~~ [ stdin ]:15: 'my-proc' not found (OILS-ERR-100) [ stdin ]:15: errexit PID 33870: command.Simple failed with status 127 |
ysh | 3 Unicode upper() lower() [ysh stdout] Expected '\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n', got '\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n\n\xc3\x80\xc3\x88\n\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n\xc3\xa1\xc3\xa9\n' stdout: ÀÈ áé ÀÈ ÀÈ áé áéstderr: |
ysh_ALT | 3 Unicode upper() lower() [ysh_ALT stdout] Expected '\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n', got '\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n\n\xc3\x80\xc3\x88\n\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n\xc3\xa1\xc3\xa9\n' stdout: ÀÈ áé ÀÈ ÀÈ áé áéstderr: |