Results for loop.test.sh

statusoshosh-cpp
pass 2924
FAIL 05
total2929
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
9pass pass while in while condition
10pass FAIL while in pipe
details
11pass pass while in pipe with subshell
12pass pass until loop
13pass pass continue at top level
14pass FAIL continue in subshell
details
15pass FAIL continue in subshell aborts with errexit
details
16pass pass bad arg to break
17pass pass too many args to continue
18pass pass break in condition of loop
19pass pass break in condition of nested loop
20pass pass return within eval
21pass FAIL break/continue within eval
details
22pass FAIL break/continue within source
details
23pass pass top-level break/continue/return (without strict_control_flow)
24pass pass multi-level break with argument
25pass pass multi-level continue
26pass pass $b break, $c continue, $r return, $e exit
27pass pass \break \continue \return \exit
28pass pass builtin,command break,continue,return,exit
53 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh-cpp10 while in pipe

[osh-cpp stdout] Expected 'status=0\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp14 continue in subshell

[osh-cpp stdout] Expected '> 1\nsubshell status=1\n. 1\n> 2\nsubshell status=1\n. 2\n' Got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp15 continue in subshell aborts with errexit

[osh-cpp stdout] Expected '> 1\n', got ''
[osh-cpp status] Expected 1, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp21 break/continue within eval

[osh-cpp stdout] Expected '1\n3\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp22 break/continue within source

[osh-cpp stdout] Expected '1\n3\ndone\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core