spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 8 | 8 | |
FAIL | 3 | 3 | |
total | 11 | 11 | |
case | osh | osh-cpp | description |
0 | pass | pass | Case statement |
1 | FAIL | FAIL | Case statement with ;;& |
details | details | ||
2 | FAIL | FAIL | Case statement with ;& |
details | details | ||
3 | pass | pass | Case with empty condition |
4 | pass | pass | Match a literal with a glob character |
5 | pass | pass | Match a literal with a glob character with a dynamic pattern |
6 | pass | pass | Quoted literal in glob pattern |
7 | pass | pass | Multiple Patterns Match |
8 | pass | pass | Match one unicode char |
9 | FAIL | FAIL | case with single byte LC_ALL=C |
details | details | ||
10 | pass | pass | \(\) in pattern (regression) |
16 passed, 0 OK, 0 not implemented, 0 BUG, 6 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-cpp | 1 Case statement with ;;& [osh-cpp stdout] Expected 'A\nstar\nstar2\n', got '' [osh-cpp status] Expected 0, got 2 stdout: stderr: a) echo A ;;& ^ [ stdin ]:2: Expected word type Id.KW_Esac, got Id.Op_Amp |
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-cpp | 2 Case statement with ;& [osh-cpp stdout] Expected 'A\ntwo\nthree\n', got '' [osh-cpp status] Expected 0, got 2 stdout: stderr: a) echo A ;& ^ [ stdin ]:2: Invalid word while parsing command |
osh | 9 case with single byte LC_ALL=C [osh stdout] Expected 'b\n', got 'a\n' stdout: astderr: |
osh-cpp | 9 case with single byte LC_ALL=C [osh-cpp stdout] Expected 'b\n', got 'a\n' stdout: astderr: |