Results for ysh-proc.test.sh

statusoshosh_ALT
pass 3737
total3737
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 procs are in same namespace as variables
15pass pass Nested proc is allowed
16pass pass All combinations of nested proc/func are allowed too
17pass pass Cannot nest procs/funcs inside sh-funcs and vice-versa
18pass pass Procs defined inside compound statements (with redefine_proc)
19pass pass Block can be passed literally, or as expression in third arg group
20pass pass Pass through all 4 kinds of args
21pass pass Global and local ARGV, like "$@"
22pass pass Mutating global ARGV
23pass pass Mutating local ARGV
24pass pass typed proc allows all kinds of args
25pass pass can unset procs without -f
26pass pass procs shadow sh-funcs
27pass pass first word skips non-proc variables
28pass pass proc resolution changes with the local scope
29pass pass procs are defined in local scope
30pass pass declare -f -F only prints shell functions
31pass pass compgen -A function shows user-defined invokables - shell funcs, Proc, Obj
32pass pass type / type -a builtin on invokables - shell func, proc, invokable
33pass pass invokable Obj that doesn't declare self
34pass pass call invokable Obj with self
35pass pass two different objects can share the same __invoke__
36pass pass Stateful proc with counter
74 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped