Results for ysh-proc.test.sh

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