spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 7 | 7 | 3 | |
ok | 3 | 3 | 1 | |
FAIL | 0 | 0 | 6 | |
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 | FAIL | xtrace |
details |
17 passed, 7 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped
osh_.cc | 0 printf %q newline [osh_.cc stdout] Expected "$'one\\ntwo'\nroundtrip-ok\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: 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 '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: 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: dumb_alloc: gNumNew = 1953 gNumDelete = 146 gMemPos = 67152 gNumMalloc = 93 gNumFree = 0 gMemPos2 = 10144 |
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: dumb_alloc: gNumNew = 2011 gNumDelete = 155 gMemPos = 68560 gNumMalloc = 110 gNumFree = 0 gMemPos2 = 10416 |
osh_.cc | 6 set [osh_.cc stdout] Expected "zz=$'one\\ntwo'\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: 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.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 9 xtrace [osh_.cc stderr] Expected "+ echo $'one\\ntwo'\n", got "+ echo $'one\\ntwo'\n\ndumb_alloc:\n\tgNumNew = 2039\n\tgNumDelete = 167\n\tgMemPos = 69568\n\n\tgNumMalloc = 123\n\tgNumFree = 0\n\tgMemPos2 = 10576\n" stdout: one twostderr: + echo $'one\ntwo' dumb_alloc: gNumNew = 2039 gNumDelete = 167 gMemPos = 69568 gNumMalloc = 123 gNumFree = 0 gMemPos2 = 10576 |