spec test index / oilshell.org
status | ysh | ysh-cpp | |
pass | 10 | 10 | |
FAIL | 2 | 2 | |
total | 12 | 12 | |
case | ysh | ysh-cpp | description |
0 | pass | pass | join() |
1 | pass | pass | @[split(x)] respects IFS |
2 | pass | pass | @[maybe(x)] |
3 | pass | pass | maybe() on invalid type is fatal error |
4 | pass | pass | split() on invalid type is fatal error |
5 | pass | pass | @[glob(x)] |
6 | pass | pass | shSplit() respects IFS |
7 | pass | pass | getVar() gets global or local vars |
8 | pass | pass | ASCII upper() lower() |
9 | FAIL | FAIL | Unicode upper() lower() |
details | details | ||
10 | pass | pass | getFrame() |
11 | FAIL | FAIL | bindFrame() |
details | details |
20 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
ysh | 9 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-cpp | 9 Unicode upper() lower() [ysh-cpp 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 | 11 bindFrame() [ysh stdout] Expected '', got '<Command>\n' [ysh status] Expected 0, got 1 stdout: <Command>stderr: var cmd = bindFrame(frag, getFrame(0)) ^~~~~~~~ [ stdin ]:5: fatal: Undefined variable 'getFrame' |
ysh-cpp | 11 bindFrame() [ysh-cpp stdout] Expected '', got '<Command>\n' [ysh-cpp status] Expected 0, got 1 stdout: <Command>stderr: var cmd = bindFrame(frag, getFrame(0)) ^~~~~~~~ [ stdin ]:5: fatal: Undefined variable 'getFrame' |