Results for ysh-proc.test.sh

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