Results for ysh-unicode.test.sh

statusosh
FAIL 7
total7
caseoshdescription
0FAIL ${#s} and len(s)
details
1FAIL JSON \uXXXX\uYYYY as max code point - can't go above
details
2FAIL Parsing data - J8 rejects \u{110000}
details
3FAIL Parsing source code - YSH rejects \u{110000}
details
4FAIL Parsing source code - YSH source code rejects encoded string
details
5FAIL JSON and J8 reject encoded string above max code point
details
6FAIL Max code point: json, json8, = keyword, pp test_
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 7 failed, 0 timeouts, 0 cases skipped
7 failed under osh

Details on runs that didn't PASS

osh0 ${#s} and len(s)

[osh stdout] Expected 'farmer scalars = 4\nfacepalm scalars = 5\nfarmer len = 15\nfacepalm len = 17\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh1 JSON \uXXXX\uYYYY as max code point - can't go above

[osh stdout] Expected ' f4 8f bf bf 0a\n f4 8f bf bf 0a\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh2 Parsing data - J8 rejects \u{110000}

[osh stdout] Expected 'status=1\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh3 Parsing source code - YSH rejects \u{110000}

[osh stdout] Expected 'status max=0\nstatus too_big=1\n(Str) "\xf4\x8f\xbf\xbf"\n' Got ''
[osh status] Expected 2, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh4 Parsing source code - YSH source code rejects encoded string

[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh5 JSON and J8 reject encoded string above max code point

[osh stdout] Expected 'status=0\nstatus=1\nstatus=0\nstatus=1\n', got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh6 Max code point: json, json8, = keyword, pp test_

[osh stdout] Expected '"\xf4\x8f\xbf\xbf"\n"\xf4\x8f\xbf\xbf"\n(Str) \'\xf4\x8f\xbf\xbf\'\n(Str) "\xf4\x8f\xbf\xbf"\n' Got ''
[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_