Results for ysh-closures.test.sh

statusoshosh_ALT
pass 55
FAIL 22
total77
caseoshosh_ALTdescription
0pass pass Simple Expr Closure
1pass pass Simple Block Closure
2pass pass Expr Closures in a Loop !
3pass pass Block Closures in a Loop !
4pass pass Explicit __invoke__ for "objects in a loop", not closures in a loop
5FAIL FAIL Expr Closures in a different module
detailsdetails
6FAIL FAIL Command Closures in a different module
detailsdetails
10 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

osh5 Expr Closures in a different module

[osh stdout] Expected 'global!\nglobal local!\n', got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
  use $REPO_ROOT/spec/testdata/module2/closure.ysh --pick {local,global}_expr
      ^~~~~~~~~~
[ stdin ]:3: use: couldn't find '/home/uke/oil/spec/testdata/module2/closure.ysh'
  use $REPO_ROOT/spec/testdata/module2/closure.ysh --pick {local,global}_expr
  ^~~
[ stdin ]:3: errexit PID 40089: command.Simple failed with status 1
osh_ALT5 Expr Closures in a different module

[osh_ALT stdout] Expected 'global!\nglobal local!\n', got ''
[osh_ALT status] Expected 0, got 1

stdout:
stderr: 
  use $REPO_ROOT/spec/testdata/module2/closure.ysh --pick {local,global}_expr
      ^~~~~~~~~~
[ stdin ]:3: use: couldn't find '/home/uke/oil/test/../spec/testdata/module2/closure.ysh'
  use $REPO_ROOT/spec/testdata/module2/closure.ysh --pick {local,global}_expr
  ^~~
[ stdin ]:3: errexit PID 40092: command.Simple failed with status 1
osh6 Command Closures in a different module

[osh stdout] Expected 'global!\nglobal local!\n', got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
  use $REPO_ROOT/spec/testdata/module2/closure.ysh --pick {local,global}_block
      ^~~~~~~~~~
[ stdin ]:3: use: couldn't find '/home/uke/oil/spec/testdata/module2/closure.ysh'
  use $REPO_ROOT/spec/testdata/module2/closure.ysh --pick {local,global}_block
  ^~~
[ stdin ]:3: errexit PID 40093: command.Simple failed with status 1
osh_ALT6 Command Closures in a different module

[osh_ALT stdout] Expected 'global!\nglobal local!\n', got ''
[osh_ALT status] Expected 0, got 1

stdout:
stderr: 
  use $REPO_ROOT/spec/testdata/module2/closure.ysh --pick {local,global}_block
      ^~~~~~~~~~
[ stdin ]:3: use: couldn't find '/home/uke/oil/test/../spec/testdata/module2/closure.ysh'
  use $REPO_ROOT/spec/testdata/module2/closure.ysh --pick {local,global}_block
  ^~~
[ stdin ]:3: errexit PID 40096: command.Simple failed with status 1