| 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 |
24 passed, 0 ok, 2 known unimplemented, 0 known bugs, 2 failed, 0 skipped
| dash | 1 Case statement with ;;& stdout: stderr: /bin/dash: 3: Syntax error: newline unexpected (expecting ")") |
| osh | 1 Case statement with ;;& [osh stdout] Expected u'A\nstar\nstar2\n', got '' stdout: stderr: Line 2 of '<stdin>'
a) echo A ;;&
^
Expected word type KW_Esac, got (TokenWord token:(token id:Op_Amp val:"&" span_id:15))
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|
| dash | 2 Case statement with ;& stdout: stderr: /bin/dash: 2: Syntax error: "&" unexpected |
| osh | 2 Case statement with ;& [osh stdout] Expected u'A\ntwo\nthree\n', got '' stdout: stderr: Line 2 of '<stdin>'
a) echo A ;&
^
ParseCommand: Expected to parse a command, got (TokenWord token:(token id:Op_Amp val:"&" span_id:15))
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 2 of '<stdin>'
a) echo A ;&
^
Expected DSEMI or ESAC, got (TokenWord token:(token id:Op_Amp val:"&" span_id:15))
---
Line 0 of '<unknown>'
<no position info for token>
ParseCase: error parsing case list
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|