spec test index / oilshell.org
185 passed, 0 OK, 0 not implemented, 0 BUG, 13 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh_.cc | 9 \0 [osh_.cc stdout] Expected u'ab\x00cd\n', got 'abcd\n' stdout: abcdstderr: |
osh_.cc | 23 \0 \1 \8 [osh_.cc stdout] Expected u' \\0 \\ 1 \\ 8\n', got ' \\ 1 \\ 8\n' stdout: \ 1 \ 8stderr: |
osh_.cc | 49 read -d '' (null-separated records) [osh_.cc stdout] Expected 'v1=a,b,c\nv1=d v2=e,f\nv1=g v2=h v3=i\n', got 'v1=a,b,cd,e,fg,h,i\nv1= v2=\nv1= v2= v3=\n' stdout: v1=a,b,cd,e,fg,h,i v1= v2= v1= v2= v3=stderr: |
osh_.cc | 52 read -t 0 tests if input is available [osh_.cc stdout] Expected '0\n0\nreply=\n0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.stripped: cpp/leaky_core.cc:188: bool pyos::InputAvailable(int): Assertion `!"Not Implemented"' failed. |
osh | 53 read -t 0.5 [osh stdout] Expected '1\n', got '' [osh status] Expected 0, got 1 stdout: stderr: read -t 0.5 < /dev/null ^~~~ [ stdin ]:3: fatal: read -t isn't implemented (except t=0) |
osh_.py | 53 read -t 0.5 [osh_.py stdout] Expected '1\n', got '' [osh_.py status] Expected 0, got 1 stdout: stderr: read -t 0.5 < /dev/null ^~~~ [ stdin ]:3: fatal: read -t isn't implemented (except t=0) |
osh_.cc | 53 read -t 0.5 [osh_.cc stdout] Expected '1\n', got '' [osh_.cc status] Expected 0, got 1 stdout: stderr: read -t 0.5 < /dev/null ^~~~ [ stdin ]:3: fatal: read -t isn't implemented (except t=0) |
osh | 55 read -u [osh stdout] Expected 'reply=hi\n', got 'reply=\n' stdout: reply=stderr: |
osh_.py | 55 read -u [osh_.py stdout] Expected 'reply=hi\n', got 'reply=\n' stdout: reply=stderr: |
osh_.cc | 55 read -u [osh_.cc stdout] Expected 'reply=hi\n', got 'reply=\n' stdout: reply=stderr: |
osh | 57 read -N doesn't respect delimiter, while read -n does [osh stdout] Expected 'foo\nfooba\n', got 'fooba\nfooba\n' stdout: fooba foobastderr: echo foobar | { read -N 5 -d b; echo $REPLY; } ^~ [ stdin ]:4: 'read' doesn't accept flag -N |
osh_.py | 57 read -N doesn't respect delimiter, while read -n does [osh_.py stdout] Expected 'foo\nfooba\n', got 'fooba\nfooba\n' stdout: fooba foobastderr: echo foobar | { read -N 5 -d b; echo $REPLY; } ^~ [ stdin ]:4: 'read' doesn't accept flag -N |
osh_.cc | 57 read -N doesn't respect delimiter, while read -n does [osh_.cc stdout] Expected 'foo\nfooba\n', got 'fooba\nfooba\n' stdout: fooba foobastderr: echo foobar | { read -N 5 -d b; echo $REPLY; } ^~ [ stdin ]:4: 'read' |