Results for command-parsing.test.sh

casedashbashmkshoshdescription
0pass ok pass ok Prefix env on assignment
detailsdetails
1pass pass pass ok Redirect on assignment
details
2pass pass pass ok Prefix env on control flow
details
3pass pass pass ok Redirect on control flow
details

11 passed, 5 ok, 0 known unimplemented, 0 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

bash0 Prefix env on assignment

stdout:
var
stderr:
osh0 Prefix env on assignment

stdout:
stderr: 
Line 2 of '<stdin>'
    E=env local v=var
      ^~~
Invalid prefix bindings in assignment: [('E', (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:env span_id:8))]), 7)]
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
osh1 Redirect on assignment

stdout:
stderr: 
Line 0 of '<unknown>'
  <no position info for token>
Got redirects in assignment: [(Redir
  op_id: Redir_Great
  fd: -1
  arg_word: (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:_tmp/r.txt span_id:14))])
  spids: [12]
)]
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
osh2 Prefix env on control flow

stdout:
stderr: 
Line 3 of '<stdin>'
    E=env break
      ^~~
Invalid prefix bindings in control flow: [('E', (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:env span_id:22))]), 21)]
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
osh3 Redirect on control flow

stdout:
stderr: 
Line 0 of '<unknown>'
  <no position info for token>
Got redirects in control flow: [(Redir
  op_id: Redir_Great
  fd: -1
  arg_word: (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:_tmp/r.txt span_id:26))])
  spids: [24]
)]
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---