Results for ysh-func-builtin.test.sh

statusysh
pass 9
FAIL 3
total12
caseyshdescription
0pass join()
1pass @[split(x)] respects IFS
2pass @[maybe(x)]
3pass maybe() on invalid type is fatal error
4pass split() on invalid type is fatal error
5pass @[glob(x)]
6pass shSplit() respects IFS
7pass getVar() gets global or local vars
8pass ASCII upper() lower()
9FAIL Unicode upper() lower()
details
10FAIL getFrame()
details
11FAIL bindFrame()
details
9 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped
3 failed under osh

Details on runs that didn't PASS

ysh9 Unicode upper() lower()

[ysh stdout] Expected '\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n', got '\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n\n\xc3\x80\xc3\x88\n\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n\xc3\xa1\xc3\xa9\n'

stdout:
ÀÈ
áé

ÀÈ
ÀÈ
áé
áé
stderr:
ysh10 getFrame()

[ysh stdout] Expected '<Frame>\n', got ''
[ysh status] Expected 0, got 1

stdout:
stderr: 
  var fr = getFrame(null)
           ^~~~~~~~
[ stdin ]:1: fatal: Undefined variable 'getFrame'
ysh11 bindFrame()

[ysh stdout] Expected '', got '<Command>\n'
[ysh status] Expected 0, got 1

stdout:
<Command>
stderr:
  var cmd = bindFrame(frag, getFrame(0))
                            ^~~~~~~~
[ stdin ]:5: fatal: Undefined variable 'getFrame'