spec test index / oilshell.org
0 passed, 0 OK, 0 not implemented, 0 BUG, 63 failed, 0 timeouts, 0 cases skipped 63 failed under osh
osh | 0 usage errors [osh stdout] Expected 'status=2\n', got '' [osh status] Expected 3, 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_ |
osh | 1 json write STRING [osh stdout] Expected '"foo"\n"foo"\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_ |
osh | 2 json write ARRAY [osh stdout] Expected '[\n "foo.cc",\n "foo.h"\n]\n["foo.cc","foo.h"]\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_ |
osh | 3 json write Dict [osh stdout] Expected '{\n "k": "v",\n "k2": [\n 4,\n 5\n ]\n}\n[\n {\n "k": "v",\n "k2": "v2"\n },\n {}\n]\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_ |
osh | 4 json write space=0, space=4 [osh stdout] Expected '{"name":"bob","age":30}\n{\n "name": "bob",\n "age": 30\n}\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_ |
osh | 5 json write in command sub [osh stdout] Expected '{\n "name": "bob",\n "age": 30\n}\n{\n "name": "bob",\n "age": 30\n}\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_ |
osh | 6 json read passed invalid args [osh stdout] Expected 'status=1\nstatus=2\nstatus=2\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_ |
osh | 7 json read uses $_reply var [osh stdout] Expected 'true\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_ |
osh | 8 json read then json write [osh stdout] Expected '{\n "name": "bob",\n "age": 42,\n "ok": true\n}\n{\n "name": "bob",\n "age": 42,\n "ok": true\n}\n{\n "name": {},\n "age": {},\n "x": -1,\n "y": 0\n}\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_ |
osh | 9 json read with redirect [osh stdout] Expected 'x = (Cell exported:F readonly:F nameref:F val:(value.Dict d:[Dict age (value.Int i:42)]))\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_ |
osh | 10 json read at end of pipeline (relies on lastpipe) [osh stdout] Expected 'y = (Cell exported:F readonly:F nameref:F val:(value.Dict d:[Dict age (value.Int i:43)]))\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_ |
osh | 11 invalid JSON [osh stdout] Expected 'pipeline status = 1\n', got '' [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_ |
osh | 12 Extra data after valid JSON [osh stdout] Expected 'num space 0\nobj space 0\nnum comment 0\nobj comment 0\nnum bracket 1\nobj bracket 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_ |
osh | 13 json write expression [osh stdout] Expected '[1,2,3]\nstatus=0\n', got '' [osh status] Expected 3, 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_ |
osh | 14 json write evaluation error [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_ |
osh | 15 json write of List in cycle [osh stdout] Expected '(List) [[...],2,3]\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_ |
osh | 16 json write of Dict in cycle [osh stdout] Expected '(Dict) {"k":{...}}\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_ |
osh | 17 json write of List/Dict referenced twice (bug fix) [osh stdout] Expected '{"k":[1,2,3],"k2":[1,2,3],"k3":{"foo":"bar"},"k4":{"foo":"bar"}}\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_ |
osh | 18 json read doesn't accept u'' or b'' strings [osh stdout] Expected 'status=1\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_ |
osh | 19 json read doesn't accept comments, but json8 does [osh stdout] Expected 'status=0\n{\n "key": "val",\n "k2": "v2"\n}\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_ |
osh | 20 json write emits Unicode replacement char for binary data \yff [osh stdout] Expected '[\n 3,\n "foo",\n "-\xef\xbf\xbd\xef\xbf\xbd---\xef\xbf\xbd="\n]\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_ |
osh | 21 json8 accepts j"" prefix, but json doesn't [osh stdout] Expected 'json=1\n\njson8=0\n(Str) "foo\\nbar"\n\njson8=0\n(Str) "A"\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_ |
osh | 22 j"" prefix not accepted in YSH (could be added later) [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_ |
osh | 23 json8 write emits b'' strings for binary data \yff [osh stdout] Expected '[\n 3,\n "foo",\n b\'-\\yff\\yfe-\\yfd=\'\n]\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_ |
osh | 24 json8 write bytes vs unicode string [osh stdout] Expected '"mu \xce\xbc \\u0001 \\" \\\\ \\b\\f\\n\\r\\t"\n"\\u0001\\u001f"\nb\'\\yff\'\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_ |
osh | 25 JSON \/ escapes supported [osh stdout] Expected '/\nreply=/\nreply=/\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_ |
osh | 26 JSON string can have unescaped ' and J8 string can have unescaped " [osh stdout] Expected '(Str) "\'"\n(Str) "\\""\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_ |
osh | 27 J8 supports superfluous \" escapes, but JSON doesn't support \' escapes [osh stdout] Expected 'reply="\n(Str) "\'\'\\b\\f\\n\\r\\t\\"\\\\"\npython3=1\njson=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_ |
osh | 28 Escaping uses \u0001 in "", but \u{1} in b'' [osh stdout] Expected '"\\u0001"\nb\'\\u{1}\\yff\\u{1f}\'\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_ |
osh | 29 json8 read [osh stdout] Expected '(Dict) {}\n(List) []\n(List) [42]\n(List) [true,false]\n(Dict) {"k":"v"}\n(Dict) {"k":null}\n(Dict) {"k":1,"k2":2}\n(Dict) {"k":{"k2":null}}\n(Dict) {"k":{"k2":"v2"},"k3":"backslash \\\\ \\" \\n line 2 \xce\xbc "}\n(Dict) {"k":{"k2":"v2"},"k3":"backslash \\\\ \\" \\n line 2 \xce\xbc "}\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_ |
osh | 30 json8 round trip [osh stdout] Expected '[42,1.5,null,true,"hi",b\'\\yff\\yfe\\b\\n""\']\n[\n 42,\n 1.5,\n null,\n true,\n "hi",\n b\'\\yff\\yfe\\b\\n""\'\n]\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_ |
osh | 31 json round trip (regression) [osh stdout] Expected '(Dict) {"short":"-v","long":"--verbose","type":null,"default":"","help":"Enable verbose logging"}\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_ |
osh | 32 round trip: decode surrogate pair and encode [osh stdout] Expected '"\xf0\x9f\xa4\xa6"\n"\xf0\x9f\xa4\xa6"\n"\\u0001\\u0002"\n"\xc4\x80\xc4\x81\xc4\x82"\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_ |
osh | 33 round trip: decode surrogate half and encode [osh stdout] Expected '"\\ud83e"\n(Str) b\'\\yed\\ya0\\ybe\'\njson "\\ud83e"\njson8 b\'\\yed\\ya0\\ybe\'\n\n"\\udd26"\n(Str) b\'\\yed\\yb4\\ya6\'\njson "\\udd26"\njson8 b\'\\yed\\yb4\\ya6\'\n\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_ |
osh | 34 toJson() toJson8() [osh stdout] Expected '[42,1.5,null,true,"hi","\xef\xbf\xbd"]\n[42,1.5,null,true,"hi",b\'\\yf0\']\n[3,4]\n[3,4]\n[\n 3,\n 4\n]\n[\n 3,\n 4\n]\n[3,4]\n[3,4]\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_ |
osh | 35 fromJson() fromJson8() [osh stdout] Expected '(List) [42,1.5,null,true,"hi"]\n(List) [42,1.5,null,true,"hi"]\n(List) [42,1.5,null,true,"hi",""]\n' Got '' [osh status] Expected 4, 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_ |
osh | 36 User can handle errors - toJson() toJson8() [osh stdout] Expected "status=4\nencode error Can't encode List (object id) in object cycle\nstatus=4\nencode error Can't serialize object of type Eggex\n" Got '' [osh status] Expected 4, 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_ |
osh | 37 User can handle errors - fromJson() fromJson8() [osh stdout] Expected 'status=4\ndecode error Expected Id.J8_RBracket\nstatus=4\ndecode error Expected Id.J8_RBracket\npositions 1 - 2\n' Got '' [osh status] Expected 4, 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_ |
osh | 38 ASCII control chars can't appear literally in messages [osh stdout] Expected 'status=4\nASCII control chars\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_ |
osh | 39 \yff can't appear in u'' code strings (command) [osh stdout] Expected ' fd\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_ |
osh | 40 \yff can't appear in u'' code strings (expr) [osh stdout] Expected ' fe\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_ |
osh | 41 \yff can't appear in u'' multiline code strings [osh stdout] Expected ' fc\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_ |
osh | 42 \yff can't appear in u'' data strings [osh stdout] Expected "(Str) b'\\yfe'\n", got '' [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_ |
osh | 43 \u{dc00} can't be in surrogate range in code (command) [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_ |
osh | 44 \u{dc00} can't be in surrogate range in code (expr) [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_ |
osh | 45 \u{dc00} can't be in surrogate range in data [osh stdout] Expected 'status=0\nstatus=1\nstatus=1\nstatus=0\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_ |
osh | 46 Inf is encoded as null, like JavaScript [osh stdout] Expected '(Float) INFINITY\n(Float) -INFINITY\n--\nnull\nerror=0\nnull\nerror=0\n--\nnull\nnull\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_ |
osh | 47 NaN is encoded as null, like JavaScript [osh stdout] Expected '(Float) NAN\nnull\nnull\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_ |
osh | 48 Invalid UTF-8 in JSON is rejected [osh stdout] Expected 'status=1\nstatus=1\nstatus=1\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_ |
osh | 49 Invalid JSON in J8 is rejected [osh stdout] Expected 'status=1\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_ |
osh | 50 '' means the same thing as u'' [osh stdout] Expected '(Str) ""\n(Str) "\xce\xbc"\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_ |
osh | 51 decode integer larger than 2^32 [osh stdout] Expected '8589934592\n(Int) 8589934592\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_ |
osh | 52 decode integer larger than 2^64 [osh stdout] Expected 'status=1\nstatus=1\nok\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_ |
osh | 53 round trip: read/write with ysh [osh stdout] Expected 'diff=0\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_ |
osh | 54 round trip: read/write with ysh, read/write with Python 3 (bug regression) [osh stdout] Expected 'diff=0\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_ |
osh | 55 Encoding bytes that don't hit UTF8_REJECT immediately (bug fix) [osh stdout] Expected "b'\\yce'\ndeclare -- x=$'\\xce'\n\nb'\\ybc'\ndeclare -- y=$'\\xbc'\n\nb'\\yf0\\y9f\\ya4\\yff'\ndeclare -- z=$'\\xf0\\x9f\\xa4\\xff'\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_ |
osh | 56 NIL8 token in JSON / JSON8 [osh stdout] Expected 'status=1\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_ |
osh | 57 Data after internal NUL (issue #2026) [osh stdout] Expected 'status=4\nstatus=4\nstatus=1\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_ |
osh | 58 Float too big [osh stdout] Expected 'status=0\n(Float) INFINITY\nstatus=0\n(Float) -INFINITY\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_ |
osh | 59 Many [[[ , but not too many [osh stdout] Expected '(List) [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]\nlen=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_ |
osh | 60 Too many opening [[[ - blocking stack [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_ |
osh | 61 BashArray can be serialized [osh stdout] Expected '{\n "type": "BashArray",\n "data": {}\n}\n{\n "type": "BashArray",\n "data": {\n "0": "x",\n "1": "y",\n "5": "z"\n }\n}\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_ |
osh | 62 BashAssoc can be serialized [osh stdout] Expected '{\n "type": "BashAssoc",\n "data": {}\n}\n{\n "type": "BashAssoc",\n "data": {\n "foo": "bar",\n "42": "43"\n }\n}\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_ |