Results for ysh-func-builtin.test.sh

statusyshysh-cpp
pass 99
FAIL 33
total1212
caseyshysh-cppdescription
0pass pass join()
1pass pass @[split(x)] respects IFS
2pass pass @[maybe(x)]
3pass pass maybe() on invalid type is fatal error
4pass pass split() on invalid type is fatal error
5pass pass @[glob(x)]
6pass pass shSplit() respects IFS
7pass pass getVar() gets global or local vars
8pass pass ASCII upper() lower()
9FAIL FAIL Unicode upper() lower()
detailsdetails
10FAIL FAIL getFrame()
detailsdetails
11FAIL FAIL bindFrame()
detailsdetails
18 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:
ysh-cpp9 Unicode upper() lower()

[ysh-cpp 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'
ysh-cpp10 getFrame()

[ysh-cpp stdout] Expected '<Frame>\n', got ''
[ysh-cpp 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'
ysh-cpp11 bindFrame()

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

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