spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 7 | 4 | 2 | |
ok | 3 | 2 | 1 | |
FAIL | 0 | 4 | 7 | |
total | 10 | 10 | 10 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | FAIL | FAIL | printf %q newline |
details | details | |||
1 | pass | pass | pass | printf %q spaces |
2 | ok | FAIL | 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 | FAIL | FAIL | set |
details | details | |||
7 | pass | FAIL | FAIL | declare |
details | details | |||
8 | pass | pass | FAIL | ${var@Q} |
details | ||||
9 | pass | pass | FAIL | xtrace |
details |
13 passed, 6 OK, 0 not implemented, 0 BUG, 11 failed, 0 timeouts, 0 cases skipped
osh_.py | 0 printf %q newline [osh_.py stdout] Expected "$'one\\ntwo'\nroundtrip-ok\n", got "$'one\\ntwo'\n" [osh_.py status] Expected 0, got 1 stdout: $'one\ntwo'stderr: |
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 1 stdout: $'one\ntwo'stderr: |
osh | 2 printf %q quotes stdout: $'\'"' roundtrip-okstderr: |
osh_.py | 2 printf %q quotes [osh_.py stdout] Expected '$\'\\\'"\'\nroundtrip-ok\n', got '$\'\\\'"\'\n' [osh_.py status] Expected 0, got 1 stdout: $'\'"'stderr: |
osh_.cc | 2 printf %q quotes [osh_.cc stdout] Expected '$\'\\\'"\'\nroundtrip-ok\n', got '$\'\\\'"\'\n' [osh_.cc status] Expected 0, got 1 stdout: $'\'"'stderr: |
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 '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: mycpp/mylib.h:491: void List<int>::reverse() [T = int]: Assertion `0' failed. |
osh_.py | 6 set [osh_.py stdout] Expected "zz=$'one\\ntwo'\n", got '' stdout: stderr: |
osh_.cc | 6 set [osh_.cc stdout] Expected "zz=$'one\\ntwo'\n", got '' stdout: stderr: |
osh_.py | 7 declare [osh_.py stdout] Expected "zz=$'one\\ntwo'\ndeclare -- zz=$'one\\ntwo'\n", got "declare -- zz=$'one\\ntwo'\n" stdout: declare -- zz=$'one\ntwo'stderr: |
osh_.cc | 7 declare [osh_.cc stdout] Expected "zz=$'one\\ntwo'\ndeclare -- zz=$'one\\ntwo'\n", got '' [osh_.cc status] Expected 0, got -11 stdout: stderr: |
osh_.cc | 8 ${var@Q} [osh_.cc stdout] Expected "$'one\\ntwo \xce\xbc'\n$'one\\ntwo \xce\xbc'\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: mycpp/mylib.h:491: void List<int>::reverse() [T = int]: Assertion `0' failed. |
osh_.cc | 9 xtrace [osh_.cc stdout] Expected 'one\ntwo\n', got '' [osh_.cc stderr] Expected "+ echo $'one\\ntwo'\n", got "osh_eval.dbg: mycpp/mylib.h:596: V Dict<Str *, syntax_asdl::compound_word *>::index(K) [K = Str *, V = syntax_asdl::compound_word *]: Assertion `0' failed.\n" [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: mycpp/mylib.h:596: V Dict<Str *, syntax_asdl::compound_word *>::index(K) [K = Str *, V = syntax_asdl::compound_word *]: Assertion `0' failed. |