Results for ysh-func-builtin.test.sh

statusyshysh-cpp
pass 1010
FAIL 22
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
10pass pass getFrame()
11FAIL FAIL bindFrame()
detailsdetails
20 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

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:
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'