| status | osh | osh-cpp | |
| pass | 6 | 4 | |
| FAIL | 1 | 3 | |
| total | 7 | 7 | |
| case | osh | osh-cpp | description |
| 0 | pass | pass | ${#s} and len(s) |
| 1 | pass | pass | JSON \uXXXX\uYYYY as max code point - can't go above |
| 2 | pass | pass | Parsing data - J8 rejects \u{110000} |
| 3 | pass | FAIL | Parsing source code - YSH rejects \u{110000} |
| details | |||
| 4 | FAIL | FAIL | Parsing source code - YSH source code rejects encoded string |
| details | details | ||
| 5 | pass | FAIL | JSON and J8 reject encoded string above max code point |
| details | |||
| 6 | pass | 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
| osh-cpp | 3 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
|
| osh | 4 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=0stderr: |
| osh-cpp | 4 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-cpp | 5 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 |