| status | osh | osh-cpp | |
| pass | 4 | 0 | |
| FAIL | 0 | 4 | |
| total | 4 | 4 | |
| case | osh | osh-cpp | description |
| 0 | pass | FAIL | typeset -f prints function source code |
| details | |||
| 1 | pass | FAIL | typeset -f with function keyword (ksh style) |
| details | |||
| 2 | pass | FAIL | typeset -f prints function source code - nested functions |
| details | |||
| 3 | pass | FAIL | non-{ } function bodies can be serialized (rare) |
| details |
4 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| osh-cpp | 0 typeset -f prints function source code [osh-cpp stdout] Expected 'serialized\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: code=$(typeset -f myfunc)
^
[ stdin ]:3: Invalid word while parsing command list
|
| osh-cpp | 1 typeset -f with function keyword (ksh style) [osh-cpp stdout] Expected 'serialized\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: code=$(typeset -f myfunc)
^
[ stdin ]:5: Invalid word while parsing command list
|
| osh-cpp | 2 typeset -f prints function source code - nested functions [osh-cpp stdout] Expected 'outer\ninner\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: code=$(typeset -f outer)
^
[ stdin ]:8: Invalid word while parsing command list
|
| osh-cpp | 3 non-{ } function bodies can be serialized (rare) [osh-cpp stdout] Expected 'subshell body\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: code=$(typeset -f f)
^
[ stdin ]:3: Invalid word while parsing command list
|