spec test index / oilshell.org
| status | osh | |
| pass | 25 | |
| total | 25 | |
| case | osh | description |
| 0 | pass | Open proc (any number of args) |
| 1 | pass | Closed proc with no args, passed too many |
| 2 | pass | Open proc has ARGV |
| 3 | pass | Closed proc has empty "$@" or ARGV |
| 4 | pass | Proc with default args |
| 5 | pass | Proc with word params |
| 6 | pass | Proc with ... "rest" word params |
| 7 | pass | word rest params 2 |
| 8 | pass | proc with typed args |
| 9 | pass | Proc name-with-hyphen |
| 10 | pass | Proc with block arg |
| 11 | pass | proc returning wrong type |
| 12 | pass | proc returning invalid string |
| 13 | pass | 'return' doesn't accept expressions |
| 14 | pass | declare -F prints procs and shell-funcs |
| 15 | pass | procs are in same namespace as variables |
| 16 | pass | Nested proc is disallowed at parse time |
| 17 | pass | Procs defined inside compound statements (with redefine_proc) |
| 18 | pass | Block can be passed literally, or as expression in third arg group |
| 19 | pass | Pass through all 4 kinds of args |
| 20 | pass | Global and local ARGV, like "$@" |
| 21 | pass | Mutating global ARGV |
| 22 | pass | Mutating local ARGV |
| 23 | pass | typed proc allows all kinds of args |
| 24 | pass | unset and procs |
25 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped