spec test index / oilshell.org
| status | osh | osh_.py | osh_.cc | |
| pass | 8 | 8 | 7 | |
| FAIL | 3 | 3 | 4 | |
| total | 11 | 11 | 11 | |
| case | osh | osh_.py | osh_.cc | description |
| 0 | pass | pass | pass | Case statement |
| 1 | FAIL | FAIL | FAIL | Case statement with ;;& |
| details | details | details | ||
| 2 | FAIL | FAIL | FAIL | Case statement with ;& |
| details | details | details | ||
| 3 | pass | pass | pass | Case with empty condition |
| 4 | pass | pass | pass | Match a literal with a glob character |
| 5 | pass | pass | pass | Match a literal with a glob character with a dynamic pattern |
| 6 | pass | pass | pass | Quoted literal in glob pattern |
| 7 | pass | pass | pass | Multiple Patterns Match |
| 8 | pass | FAIL | FAIL | Match one unicode char |
| details | details | |||
| 9 | FAIL | pass | FAIL | case with single byte LC_ALL=C |
| details | details | |||
| 10 | pass | pass | pass | \(\) in pattern (regression) |
23 passed, 0 OK, 0 not implemented, 0 BUG, 10 failed, 0 timeouts, 0 cases skipped 3 failed under osh
| osh | 1 Case statement with ;;& [osh stdout] Expected u'A\nstar\nstar2\n', got '' [osh status] Expected 0, got 2 stdout: stderr: a) echo A ;;&
^
[ stdin ]:2: Expected word type Id.KW_Esac, got Id.Op_Amp
|
| osh_.py | 1 Case statement with ;;& [osh_.py stdout] Expected u'A\nstar\nstar2\n', got '' [osh_.py status] Expected 0, got 2 stdout: stderr: a) echo A ;;&
^
[ stdin ]:2: Expected word type Id.KW_Esac, got Id.Op_Amp
|
| osh_.cc | 1 Case statement with ;;& [osh_.cc stdout] Expected u'A\nstar\nstar2\n', got '' [osh_.cc status] Expected 0, got 2 stdout: stderr: a) echo A ;;&
^
[ stdin ]:2: dynamic_fmt_dummy
dumb_alloc:
gNumNew = 1685
gNumDelete = 108
gMemPos = 59376
gNumMalloc = 44
gNumFree = 0
gMemPos2 = 9888
|
| osh | 2 Case statement with ;& [osh stdout] Expected u'A\ntwo\nthree\n', got '' [osh status] Expected 0, got 2 stdout: stderr: a) echo A ;&
^
[ stdin ]:2: Invalid word while parsing command
|
| osh_.py | 2 Case statement with ;& [osh_.py stdout] Expected u'A\ntwo\nthree\n', got '' [osh_.py status] Expected 0, got 2 stdout: stderr: a) echo A ;&
^
[ stdin ]:2: Invalid word while parsing command
|
| osh_.cc | 2 Case statement with ;& [osh_.cc stdout] Expected u'A\ntwo\nthree\n', got '' [osh_.cc status] Expected 0, got 2 stdout: stderr: a) echo A ;&
^
[ stdin ]:2: Invalid word while parsing command
dumb_alloc:
gNumNew = 1677
gNumDelete = 106
gMemPos = 59184
gNumMalloc = 43
gNumFree = 0
gMemPos2 = 9872
|
| osh_.py | 8 Match one unicode char [osh_.py stdout] Expected 'yes\nyes\nno\n', got 'yes\nno\nno\n' stdout: yes no nostderr: |
| osh_.cc | 8 Match one unicode char [osh_.cc stdout] Expected 'yes\nyes\nno\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
| osh | 9 case with single byte LC_ALL=C [osh stdout] Expected 'b\n', got 'a\n' stdout: astderr: |
| osh_.cc | 9 case with single byte LC_ALL=C [osh_.cc stdout] Expected 'b\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |