Results for TODO-deprecate.test.sh

statusoshosh-cpp
pass 99
FAIL 11
total1010
caseoshosh-cppdescription
0pass pass oil:upgrade as alias for ysh:upgrade
1pass pass %() array literal
2pass pass _match() instead of _group()
3pass pass _status instead of _error.code
4pass pass source ///osh/two.sh rather than source --builtin osh/two.sh
5pass pass OILS_VERSION, not OIL_VERSION
6pass pass stdin is now io.stdin
7FAIL FAIL Old _io builtin
detailsdetails
8pass pass s.upper(), not s => upper()
9pass pass Mutating methods must be ->, not => or .
18 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

osh7 Old _io builtin

[osh stdout] Expected 'hi\n', got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
  echo $[_io=>captureStdout(^(echo hi))]
              ^~~~~~~~~~~~~
[ stdin ]:1: fatal: Undefined variable 'captureStdout'
osh-cpp7 Old _io builtin

[osh-cpp stdout] Expected 'hi\n', got ''
[osh-cpp status] Expected 0, got 1

stdout:
stderr: 
  echo $[_io=>captureStdout(^(echo hi))]
              ^~~~~~~~~~~~~
[ stdin ]:1: fatal: Undefined variable 'captureStdout'