Results for loop.test.sh

casedashbashmkshoshosh_ALTdescription
0pass pass pass pass pass implicit for loop
1pass pass pass pass pass empty for loop (has "in")
2pass ok ok pass pass for loop with invalid identifier
detailsdetails
3pass pass pass pass pass Tilde expansion within for loop
4N-I pass pass pass pass Brace Expansion within Array
details
5pass pass pass pass pass using loop var outside loop
6pass pass pass pass pass continue
7pass pass pass pass pass break
8N-I N-I N-I pass pass continue at top level is error
detailsdetailsdetails
9N-I N-I N-I pass pass break at top level is error
detailsdetailsdetails
10pass pass pass pass pass while in while condition
11pass pass pass pass pass while in pipe
12pass pass pass pass pass while in pipe with subshell
13pass pass pass pass pass until loop

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

Details on runs that didn't PASS

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
dash4 Brace Expansion within Array

stdout:
-{a,b}
{c,d}-
stderr:
dash8 continue at top level is error

stdout:
bad
stderr:
bash8 continue at top level is error

stdout:
bad
stderr:
/bin/bash: line 1: continue: only meaningful in a `for', `while', or `until' loop
mksh8 continue at top level is error

stdout:
bad
stderr:
/bin/mksh: <stdin>[1]: continue: can't continue
dash9 break at top level is error

stdout:
bad
stderr:
bash9 break at top level is error

stdout:
bad
stderr:
/bin/bash: line 1: break: only meaningful in a `for', `while', or `until' loop
mksh9 break at top level is error

stdout:
bad
stderr:
/bin/mksh: <stdin>[1]: break: can't break