spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 8 | 8 | 8 | |
FAIL | 3 | 3 | 3 | |
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 | pass | case with single byte LC_ALL=C |
details | ||||
10 | pass | pass | pass | \(\) in pattern (regression) |
24 passed, 0 OK, 0 not implemented, 0 BUG, 9 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh | 1 Case statement with ;;& [osh stdout] Expected '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 '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 'A\nstar\nstar2\n', got '' [osh_.cc status] Expected 0, got 2 stdout: stderr: a) echo A ;;& ^ [ stdin ]:2: |
osh | 2 Case statement with ;& [osh stdout] Expected '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 '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 'A\ntwo\nthree\n', got '' [osh_.cc status] Expected 0, got 2 stdout: stderr: a) echo A ;& ^ [ stdin ]:2: Invalid word while parsing command |
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 'yes\nno\nno\n' stdout: yes no nostderr: |
osh | 9 case with single byte LC_ALL=C [osh stdout] Expected 'b\n', got 'a\n' stdout: astderr: |