| status | osh | osh-cpp | |
| pass | 8 | 5 | |
| FAIL | 0 | 3 | |
| total | 8 | 8 | |
| case | osh | osh-cpp | description |
| 0 | pass | pass | Simple Expr Closure |
| 1 | pass | pass | Simple Block Closure |
| 2 | pass | pass | Expr Closures in a Loop ! |
| 3 | pass | pass | Block Closures in a Loop ! |
| 4 | pass | pass | Explicit __invoke__ for "objects in a loop", not closures in a loop |
| 5 | pass | FAIL | Expr Closures in a different module |
| details | |||
| 6 | pass | FAIL | Command Closures in a different module |
| details | |||
| 7 | pass | FAIL | Closures as default argument |
| details |
13 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| osh-cpp | 5 Expr Closures in a different module [osh-cpp stdout] Expected 'global!\nglobal local!\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: var global_block = ^(echo "$[g]!")
^
/home/uke/oil/spec/testdata/module2/closure.ysh:13: Invalid word while parsing command list
use $REPO_ROOT/spec/testdata/module2/closure.ysh --pick {local,global}_expr
^~~
[ stdin ]:3: errexit PID 34045: Command failed with status 2
|
| osh-cpp | 6 Command Closures in a different module [osh-cpp stdout] Expected 'global!\nglobal local!\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: var global_block = ^(echo "$[g]!")
^
/home/uke/oil/spec/testdata/module2/closure.ysh:13: Invalid word while parsing command list
use $REPO_ROOT/spec/testdata/module2/closure.ysh --pick {local,global}_block
^~~
[ stdin ]:3: errexit PID 34072: Command failed with status 2
|
| osh-cpp | 7 Closures as default argument [osh-cpp stdout] Expected 'global expr!\nglobal block!\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: var global_block = ^(echo "$[g]!")
^
/home/uke/oil/spec/testdata/module2/closure.ysh:13: Invalid word while parsing command list
use $REPO_ROOT/spec/testdata/module2/closure.ysh --pick default_{expr,block}
^~~
[ stdin ]:3: errexit PID 34096: Command failed with status 2
|