Results for ysh-proc.test.sh

statusoshosh_ALT
pass 2222
FAIL 11
total2323
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
14FAIL FAIL procs are in same namespace as shell functions
detailsdetails
15pass pass Nested proc is disallowed at parse time
16pass pass Procs defined inside compound statements (with redefine_proc)
17pass pass Block can be passed literally, or as expression in third arg group
18pass pass Pass through all 4 kinds of args
19pass pass Global and local ARGV, like "$@"
20pass pass Mutating global ARGV
21pass pass Mutating local ARGV
22pass pass typed proc allows all kinds of args
44 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh14 procs are in same namespace as shell functions

[osh status] Expected 0, got 1

stdout:
declare -f myfunc
declare -f myproc
stderr:
osh_ALT14 procs are in same namespace as shell functions

[osh_ALT status] Expected 0, got 1

stdout:
declare -f myfunc
declare -f myproc
stderr: