| status | osh | osh-cpp | |
| pass | 12 | 11 | |
| FAIL | 1 | 2 | |
| total | 13 | 13 | |
| case | osh | osh-cpp | description |
| 0 | pass | pass | oil:upgrade as alias for ysh:upgrade |
| 1 | pass | pass | %() array literal |
| 2 | pass | pass | _match() instead of _group() |
| 3 | pass | pass | source ///osh/two.sh rather than source --builtin osh/two.sh |
| 4 | pass | pass | OILS_VERSION, not OIL_VERSION |
| 5 | pass | pass | s.upper(), not s => upper() (might keep this) |
| 6 | pass | pass | fopen can be spelled redir |
| 7 | pass | pass | Dict => keys() |
| 8 | pass | pass | Obj API |
| 9 | pass | FAIL | evalInFrame() and evalToDict() |
| details | |||
| 10 | pass | pass | YSH case requires ''/dir/*.py workaround |
| 11 | pass | pass | \x7e was the legacy syntax for \y7e |
| 12 | FAIL | FAIL | glob() function should be retired in favor of io.glob() |
| details | details |
23 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
| osh-cpp | 9 evalInFrame() and evalToDict() [osh-cpp stdout] Expected 'hi\nhi\n(Dict) {}\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: var cmd = ^(echo hi)
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh | 12 glob() function should be retired in favor of io.glob() [osh stdout] Expected '' Got '(List) ["foo"]\n' stdout: (List) ["foo"]stderr: |
| osh-cpp | 12 glob() function should be retired in favor of io.glob() [osh-cpp stdout] Expected '' Got '(List) ["foo"]\n' stdout: (List) ["foo"]stderr: |