Results for ysh-unicode.test.sh

statusoshosh-cpp
pass 64
FAIL 13
total77
caseoshosh-cppdescription
0pass pass ${#s} and len(s)
1pass pass JSON \uXXXX\uYYYY as max code point - can't go above
2pass pass Parsing data - J8 rejects \u{110000}
3pass FAIL Parsing source code - YSH rejects \u{110000}
details
4FAIL FAIL Parsing source code - YSH source code rejects encoded string
detailsdetails
5pass FAIL JSON and J8 reject encoded string above max code point
details
6pass pass Max code point: json, json8, = keyword, pp test_
10 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-cpp3 Parsing source code - YSH rejects \u{110000}

[osh-cpp stdout] Expected 'status max=0\nstatus too_big=1\n(Str) "\xf4\x8f\xbf\xbf"\n' Got ''

stdout:
stderr: 
  max=$(python2 -c 'print u"\U0010ffff".encode("utf-8")')
                                                        ^
[ stdin ]:1: Invalid word while parsing command list
osh4 Parsing source code - YSH source code rejects encoded string

[osh stdout] Expected '' Got "(Str) '\xf4\x8f\xbf\xbf'\nstatus=0\n(Str) b'\\yf4\\y90\\y80\\y80'\nstatus=0\n"

stdout:
(Str)   '􏿿'
status=0
(Str)   b'\yf4\y90\y80\y80'
status=0
stderr:
osh-cpp4 Parsing source code - YSH source code rejects encoded string

[osh-cpp status] Expected 0 Got 2

stdout:
stderr: 
  )
  ^
[ stdin ]:4: Unexpected EOF while parsing command
osh-cpp5 JSON and J8 reject encoded string above max code point

[osh-cpp stdout] Expected 'status=0\nstatus=1\nstatus=0\nstatus=1\n' Got ''
[osh-cpp status] Expected 0 Got 2

stdout:
stderr: 
  )
  ^
[ stdin ]:4: Unexpected EOF while parsing command