spec test index / oilshell.org
| status | osh | osh-cpp | |
| pass | 17 | 17 | |
| total | 17 | 17 | |
| case | osh | osh-cpp | description |
| 0 | pass | pass | Open proc (any number of args) |
| 1 | pass | pass | Closed proc with no args, passed too many |
| 2 | pass | pass | Open proc has "$@" |
| 3 | pass | pass | Closed proc doesn't have "$@" |
| 4 | pass | pass | Proc with default args |
| 5 | pass | pass | Proc with word params |
| 6 | pass | pass | Proc with ... "rest" word params |
| 7 | pass | pass | word rest params 2 |
| 8 | pass | pass | proc with typed args |
| 9 | pass | pass | Proc name-with-hyphen |
| 10 | pass | pass | Proc with block arg |
| 11 | pass | pass | proc returning wrong type |
| 12 | pass | pass | proc returning invalid string |
| 13 | pass | pass | 'return' doesn't accept expressions |
| 14 | pass | pass | procs are in same namespace as shell functions |
| 15 | pass | pass | Nested proc is disallowed at parse time |
| 16 | pass | pass | Procs defined inside compound statements (with redefine_proc) |
34 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped