spec test index / oilshell.org
48 passed, 2 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh | 22 array literal inside array is a parse error [osh status] Expected 2, got 1 stdout: stderr: a=( inside=() ) ^ [ stdin ]:1: fatal: Unexpected array literal |
osh-cpp | 22 array literal inside array is a parse error [osh-cpp status] Expected 2, got 1 stdout: stderr: a=( inside=() ) ^ [ stdin ]:1: fatal: Unexpected array literal |
osh | 23 array literal inside loop is a parse error [osh status] Expected 2, got 1 stdout: stderr: for x in a=(); do ^ [ stdin ]:2: fatal: Unexpected array literal |
osh-cpp | 23 array literal inside loop is a parse error [osh-cpp status] Expected 2, got 1 stdout: stderr: for x in a=(); do ^ [ stdin ]:2: fatal: Unexpected array literal |
osh | 24 array literal in case [osh status] Expected 2, got 1 stdout: stderr: case a=() in ^ [ stdin ]:2: fatal: Unexpected array literal |
osh-cpp | 24 array literal in case [osh-cpp status] Expected 2, got 1 stdout: stderr: case a=() in ^ [ stdin ]:2: fatal: Unexpected array literal |
osh | 26 leading =word is not allowed regardless of shopt -s parse_equals stdout: stderr: =word ^ [ stdin ]:1: =word isn't allowed. Hint: add a space after =, or quote it |
osh-cpp | 26 leading =word is not allowed regardless of shopt -s parse_equals stdout: stderr: =word ^ [ stdin ]:1: =word isn't allowed. Hint: add a space after =, or quote it |