Results for ysh-TODO-deprecate.test.sh

statusoshosh-cpp
pass 1211
FAIL 12
total1313
caseoshosh-cppdescription
0pass pass oil:upgrade as alias for ysh:upgrade
1pass pass %() array literal
2pass pass _match() instead of _group()
3pass pass source ///osh/two.sh rather than source --builtin osh/two.sh
4pass pass OILS_VERSION, not OIL_VERSION
5pass pass s.upper(), not s => upper() (might keep this)
6pass pass fopen can be spelled redir
7pass pass Dict => keys()
8pass pass Obj API
9pass FAIL evalInFrame() and evalToDict()
details
10pass pass YSH case requires ''/dir/*.py workaround
11pass pass \x7e was the legacy syntax for \y7e
12FAIL FAIL glob() function should be retired in favor of io.glob()
detailsdetails
23 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

osh-cpp9 evalInFrame() and evalToDict()

[osh-cpp stdout] Expected 'hi\nhi\n(Dict) {}\n' Got ''
[osh-cpp status] Expected 0 Got 2

stdout:
stderr: 
  var cmd = ^(echo hi)
                     ^
[ stdin ]:1: Invalid word while parsing command list
osh12 glob() function should be retired in favor of io.glob()

[osh stdout] Expected '' Got '(List) ["foo"]\n'

stdout:
(List)   ["foo"]
stderr:
osh-cpp12 glob() function should be retired in favor of io.glob()

[osh-cpp stdout] Expected '' Got '(List) ["foo"]\n'

stdout:
(List)   ["foo"]
stderr: