spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 7 | 7 | 4 | |
ok | 3 | 3 | 1 | |
FAIL | 0 | 0 | 5 | |
total | 10 | 10 | 10 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | pass | FAIL | printf %q newline |
details | ||||
1 | pass | pass | pass | printf %q spaces |
2 | ok | ok | FAIL | printf %q quotes |
details | details | details | ||
3 | ok | ok | ok | printf %q unprintable |
details | details | details | ||
4 | ok | ok | FAIL | printf %q unicode |
details | details | details | ||
5 | pass | pass | pass | printf %q invalid unicode |
6 | pass | pass | FAIL | set |
details | ||||
7 | pass | pass | FAIL | declare |
details | ||||
8 | pass | pass | pass | ${var@Q} |
9 | pass | pass | pass | xtrace |
18 passed, 7 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped
osh_.cc | 0 printf %q newline [osh_.cc stdout] Expected "$'one\\ntwo'\nroundtrip-ok\n", got "$'one\\ntwo'\n" [osh_.cc status] Expected 0, got -6 stdout: $'one\ntwo'stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh | 2 printf %q quotes stdout: $'\'"' roundtrip-okstderr: |
osh_.py | 2 printf %q quotes stdout: $'\'"' roundtrip-okstderr: |
osh_.cc | 2 printf %q quotes [osh_.cc stdout] Expected '$\'\\\'"\'\nroundtrip-ok\n', got '$\'\\\'"\'\n' [osh_.cc status] Expected 0, got -6 stdout: $'\'"'stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh | 3 printf %q unprintable stdout: $'\xff'stderr: |
osh_.py | 3 printf %q unprintable stdout: $'\xff'stderr: |
osh_.cc | 3 printf %q unprintable stdout: $'\xff'stderr: |
osh | 4 printf %q unicode stdout: 'μ'stderr: |
osh_.py | 4 printf %q unicode stdout: 'μ'stderr: |
osh_.cc | 4 printf %q unicode [osh_.cc stdout] Expected "'\xce\xbc'\n", got "$'\xce\xbc'\n" stdout: $'μ'stderr: |
osh_.cc | 6 set [osh_.cc stdout] Expected "zz=$'one\\ntwo'\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 7 declare [osh_.cc stdout] Expected "zz=$'one\\ntwo'\ndeclare -- zz=$'one\\ntwo'\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |