Results for loop.test.sh

statusoshosh-cpp
pass 2626
ok 11
total2727
caseoshosh-cppdescription
0pass pass implicit for loop
1pass pass empty for loop (has "in")
2pass pass for loop with invalid identifier
3pass pass the word 'in' can be the loop variable
4pass pass Tilde expansion within for loop
5pass pass Brace Expansion within Array
6pass pass using loop var outside loop
7pass pass continue
8pass pass break
9ok ok dynamic control flow (KNOWN INCOMPATIBILITY)
detailsdetails
10pass pass while in while condition
11pass pass while in pipe
12pass pass while in pipe with subshell
13pass pass until loop
14pass pass continue at top level
15pass pass continue in subshell
16pass pass continue in subshell aborts with errexit
17pass pass bad arg to break
18pass pass too many args to continue
19pass pass break in condition of loop
20pass pass break in condition of nested loop
21pass pass return within eval
22pass pass break/continue within eval
23pass pass break/continue within source
24pass pass top-level break/continue/return (without strict_control_flow)
25pass pass multi-level break with argument
26pass pass multi-level continue
52 passed, 2 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh9 dynamic control flow (KNOWN INCOMPATIBILITY)

stdout:
1
2
3
stderr:
    $b
    ^~
[ stdin ]:4: 'break' not found
    $b
    ^~
[ stdin ]:4: 'break' not found
    $b
    ^~
[ stdin ]:4: 'break' not found
osh-cpp9 dynamic control flow (KNOWN INCOMPATIBILITY)

stdout:
1
2
3
stderr:
    $b
    ^~
[ stdin ]:4: 'break' not found
    $b
    ^~
[ stdin ]:4: 'break' not found
    $b
    ^~
[ stdin ]:4: 'break' not found