Results for for-expr.test.sh

casemkshbashoshdescription
0N-I pass FAIL C-style for loop
detailsdetails
1N-I pass FAIL For loop with and without semicolon
detailsdetails

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

Details on runs that didn't PASS

mksh0 C-style for loop

stdout:
stderr: 
/bin/mksh: <stdin>[2]: syntax error: '((' unexpected
osh0 C-style for loop

[osh stdout] Expected b'1\n2\n3\n4\n5\n', got b''

stdout:
stderr: 
Traceback (most recent call last):
  File "bin/osh", line 378, in <module>
    sys.exit(main(sys.argv))
  File "bin/osh", line 368, in main
    return OshMain(main_argv)
  File "bin/osh", line 327, in OshMain
    status, cflow = ex.Execute(node)
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 758, in Execute
    status, cflow = self.Execute(child)  # last status wins
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 838, in Execute
    raise AssertionError(node.tag)
AssertionError: 14
mksh1 For loop with and without semicolon

stdout:
stderr: 
/bin/mksh: <stdin>[1]: syntax error: '((' unexpected
osh1 For loop with and without semicolon

[osh stdout] Expected b'1\n2\n3\n1\n2\n3\n', got b''

stdout:
stderr: 
Traceback (most recent call last):
  File "bin/osh", line 378, in <module>
    sys.exit(main(sys.argv))
  File "bin/osh", line 368, in main
    return OshMain(main_argv)
  File "bin/osh", line 327, in OshMain
    status, cflow = ex.Execute(node)
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 758, in Execute
    status, cflow = self.Execute(child)  # last status wins
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 838, in Execute
    raise AssertionError(node.tag)
AssertionError: 14