Results for case_.test.sh

casedashbashmkshoshdescription
0pass pass pass pass Case statement
1N-I pass pass FAIL Case statement with ;;&
detailsdetails
2N-I pass pass FAIL Case statement with ;&
detailsdetails
3pass pass pass pass Case with empty condition
4pass pass pass pass Match a literal with a glob character
5pass pass pass pass Match a literal with a glob character with a dynamic pattern
6pass pass pass pass Quoted literal in glob pattern

24 passed, 0 ok, 2 known unimplemented, 0 known bugs, 2 failed, 0 skipped

Details on runs that didn't PASS

dash1 Case statement with ;;&

stdout:
stderr: 
/bin/dash: 3: Syntax error: newline unexpected (expecting ")")
osh1 Case statement with ;;&

[osh stdout] Expected u'A\nstar\nstar2\n', got ''
[osh status] Expected 0, got 2

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
---
dash2 Case statement with ;&

stdout:
stderr: 
/bin/dash: 2: Syntax error: "&" unexpected
osh2 Case statement with ;&

[osh stdout] Expected u'A\ntwo\nthree\n', got ''
[osh status] Expected 0, got 2

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 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
---