spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 16 | 15 | |
FAIL | 0 | 1 | |
total | 16 | 16 | |
case | osh | osh-cpp | description |
0 | pass | pass | cd with block |
1 | pass | pass | cd with block: fatal error in block |
2 | pass | pass | cd with block: return in block |
3 | pass | pass | cd with block: break in block |
4 | pass | pass | cd with block exits with status 0 |
5 | pass | pass | block doesn't have its own scope |
6 | pass | pass | block literal in expression mode: ^(echo $PWD) |
7 | pass | pass | block arg as typed expression |
8 | pass | pass | Pass invalid typed args |
9 | pass | pass | Pass too many typed args |
10 | pass | pass | 'builtin' and 'command' with block |
11 | pass | pass | Consistency: Control Flow and Blocks |
12 | pass | pass | Consistency: Exit Status and Blocks |
13 | pass | FAIL | Consistency: Unwanted Blocks Are Errors |
details | |||
14 | pass | pass | Block with Bare Assignments |
15 | pass | pass | Proc that doesn't take a block |
31 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
osh-cpp | 13 Consistency: Unwanted Blocks Are Errors [osh-cpp stdout] Expected 'true 2\nfalse 2\necho block 2\necho args 2\ncommand echo 2\nbuiltin echo 2\npushd 2\n' Got 'true 2\nfalse 2\n\necho block 0\n\necho args 0\ncommand block\ncommand echo 0\nbuiltin block\nbuiltin echo 0\n/home/andy/git/oilshell/oil/_tmp/spec-tmp/ysh-blocks.test.sh.10283/13-osh-cpp /home/andy/git/oilshell/oil/_tmp/spec-tmp/ysh-blocks.test.sh.10283/13-osh-cpp\npushd 0\n' stdout: true 2 false 2 echo block 0 echo args 0 command block command echo 0 builtin block builtin echo 0 /home/andy/git/oilshell/oil/_tmp/spec-tmp/ysh-blocks.test.sh.10283/13-osh-cpp /home/andy/git/oilshell/oil/_tmp/spec-tmp/ysh-blocks.test.sh.10283/13-osh-cpp pushd 0stderr: true { echo BAD } ^ [ stdin ]:3: 'true' got unexpected typed args false ( 42, 43 ) ^ [ stdin ]:6: 'false' got unexpected typed args |