spec test index / oilshell.org
status | dash | bash | mksh | osh | |
pass | 6 | 8 | 8 | 6 | |
N-I | 2 | 0 | 0 | 0 | |
FAIL | 0 | 0 | 0 | 2 | |
total | 8 | 8 | 8 | 8 | |
case | dash | bash | mksh | osh | description |
0 | pass | pass | pass | pass | Case statement |
1 | N-I | pass | pass | FAIL | Case statement with ;;& |
details | details | ||||
2 | N-I | pass | pass | FAIL | Case statement with ;& |
details | details | ||||
3 | pass | pass | pass | pass | Case with empty condition |
4 | pass | pass | pass | pass | Match a literal with a glob character |
5 | pass | pass | pass | pass | Match a literal with a glob character with a dynamic pattern |
6 | pass | pass | pass | pass | Quoted literal in glob pattern |
7 | pass | pass | pass | pass | Multiple Patterns Match |
28 passed, 0 OK, 2 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
dash | 1 Case statement with ;;& stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 3: Syntax error: newline unexpected (expecting ")") |
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_t KW_Esac 203>, got <Id_t Op_Amp 40> |
dash | 2 Case statement with ;& stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: Syntax error: "&" unexpected |
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 |