Results for ysh-func-builtin.test.sh

statusyshysh_ALT
pass 99
FAIL 33
total1212
caseyshysh_ALTdescription
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, 6 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_ALT9 Unicode upper() lower()

[ysh_ALT 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_ALT10 getFrame()

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

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

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