| status | osh | |
| pass | 6 | |
| FAIL | 1 | |
| total | 7 | |
| case | osh | description |
| 0 | pass | or short circuits |
| 1 | pass | and short circuits |
| 2 | pass | not operator behaves like Python |
| 3 | pass | not, and, or |
| 4 | FAIL | and-or chains for typed data |
| details | ||
| 5 | pass | or BashArray, or BashAssoc |
| 6 | pass | x if b else y |
6 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
| osh | 4 and-or chains for typed data [osh stdout] Expected 's\nNone\nx\ny\ny\n\n42\n0\n42\n0\n0.5\n0.0\n[\'a\']\n[]\n{\'d\': 1}\n{}\nOR\nAND\n---\n"s"\nnull\nx\ny\ny\n\n42\n0\n42\n0\n0.5\n0.0\n(List) ["a"]\n(List) []\n(Dict) {"d":1}\n(Dict) {}\nOR\nAND\n' Got 's\nNone\nx\ny\ny\n\n42\n0\n42\n0\n0.5\n0.0\n[\'a\']\n[]\n{\'d\': 1}\n{}\nOR\nAND\n---\n"s"\nnull\n' [osh status] Expected 0 Got 2 stdout: s
None
x
y
y
42
0
42
0
0.5
0.0
['a']
[]
{'d': 1}
{}
OR
AND
---
"s"
null
stderr: echo $["x" or "y"]
^~
[ stdin ]:33: Unexpected token after arithmetic expression (Id.Word_Compound != Id.Arith_RBracket)
|