spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 6 | 6 | |
FAIL | 1 | 1 | |
total | 7 | 7 | |
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 | pass | Expr Closures in a different module |
6 | FAIL | FAIL | Command Closures in a different module |
details | details |
12 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 6 Command Closures in a different module [osh stdout] Expected 'global!\nglobal local!\n', got 'global!\n' [osh status] Expected 0, got 1 stdout: global!stderr: return (^(echo "$[g] $[lo]!")) ^ /home/uke/oil/spec/testdata/module2/closure.ysh:17: fatal: Undefined variable 'g' |
osh-cpp | 6 Command Closures in a different module [osh-cpp stdout] Expected 'global!\nglobal local!\n', got 'global!\n' [osh-cpp status] Expected 0, got 1 stdout: global!stderr: return (^(echo "$[g] $[lo]!")) ^ /home/uke/oil/test/../spec/testdata/module2/closure.ysh:17: fatal: Undefined variable 'g' |