Results for loop.test.sh

casedashbashmkshoshdescription
0pass pass pass pass implicit for loop
1pass pass BUG pass empty for loop (has "in")
details
2pass ok ok FAIL for loop with invalid identifier
detailsdetailsdetails
3pass pass pass pass using loop var outside loop
4pass pass pass pass continue
5pass pass pass pass break
6pass pass pass pass while in while condition
7pass pass pass pass while in pipe
8pass pass pass pass while in pipe with subshell
9pass pass pass FAIL until loop
details

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

Details on runs that didn't PASS

mksh1 empty for loop (has "in")

stdout:
1
2
3
stderr:
bash2 for loop with invalid identifier

stdout:
stderr: 
/bin/bash: line 3: `-': not a valid identifier
mksh2 for loop with invalid identifier

stdout:
stderr: 
/bin/mksh: <stdin>[1]: for: bad identifier
osh2 for loop with invalid identifier

[osh stdout] Expected b'', got b'hi\nhi\nhi\n'
[osh status] Expected 2, got 0

stdout:
hi
hi
hi
stderr:
osh9 until loop

[osh stdout] Expected b'hi\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 838, in Execute
    raise AssertionError(node.tag)
AssertionError: 16