spec test index / oilshell.org
56 passed, 15 ok, 1 known unimplemented, 8 known bugs, 5 failed, 0 skipped
| bash | 1 Bad braced var sub -- not allowed stdout: stderr: _tmp/spec-bin/bash: line 1: ${%}: bad substitution
|
| mksh | 1 Bad braced var sub -- not allowed stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: ${%}: bad substitution
|
| dash | 2 Bad var sub caught at parse time stdout: okstderr: |
| bash | 2 Bad var sub caught at parse time stdout: okstderr: |
| mksh | 2 Bad var sub caught at parse time stdout: okstderr: |
| mksh | 3 Incomplete while stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'while' unmatched |
| mksh | 4 Incomplete for stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'newline' unexpected |
| mksh | 5 Incomplete if stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'if' unmatched |
| mksh | 6 do unexpected stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'do' unexpected |
| osh | 6 do unexpected [osh status] Expected 2, got 0 stdout: stderr: |
| osh-byterun | 6 do unexpected [osh-byterun status] Expected 2, got 0 stdout: stderr: |
| mksh | 7 } is a parse error stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: '}' unexpected |
| dash | 8 { is its own word, needs a space stdout: status=127stderr: _tmp/spec-bin/dash: 1: {ls: not found
|
| mksh | 8 { is its own word, needs a space stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: '}' unexpected |
| osh | 8 { is its own word, needs a space [osh status] Expected 2, got 127 stdout: stderr: Unexpected error in execvpe('{ls', ['{ls'], ...): [Errno 2] No such file or directory
|
| osh-byterun | 8 { is its own word, needs a space [osh-byterun status] Expected 2, got 127 stdout: stderr: Unexpected error in execvpe('{ls', ['{ls'], ...): [Errno 2] No such file or directory
|
| bash | 10 Invalid for loop variable name stdout: donestderr: _tmp/spec-bin/bash: line 3: `i.j': not a valid identifier |
| mksh | 10 Invalid for loop variable name stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: for: bad identifier |
| bash | 12 bad var name in export stdout: stderr: _tmp/spec-bin/bash: line 1: export: `FOO-BAR=foo': not a valid identifier |
| mksh | 12 bad var name in export stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: export: FOO-BAR=foo: is not an identifier |
| dash | 13 bad var name in local stdout: stderr: |
| bash | 13 bad var name in local stdout: stderr: |
| mksh | 13 bad var name in local stdout: stderr: |
| mksh | 14 misplaced parentheses are not a subshell stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unexpected
|
| osh | 14 misplaced parentheses are not a subshell [osh status] Expected 2, got 127 stdout: astderr: Unexpected error in execvpe('b', ['b'], ...): [Errno 2] No such file or directory
|
| osh-byterun | 14 misplaced parentheses are not a subshell [osh-byterun status] Expected 2, got 127 stdout: astderr: Unexpected error in execvpe('b', ['b'], ...): [Errno 2] No such file or directory
|
| mksh | 15 incomplete command sub stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unmatched
|
| osh | 15 incomplete command sub [osh status] Expected 2, got 0 stdout: stderr: Unexpected error in execvpe('x', ['x'], ...): [Errno 2] No such file or directory
|
| osh-byterun | 15 incomplete command sub [osh-byterun status] Expected 2, got 0 stdout: stderr: Unexpected error in execvpe('x', ['x'], ...): [Errno 2] No such file or directory
|
| mksh | 16 misplaced ;; stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: ';;' unexpected |
| osh | 16 misplaced ;; [osh stdout] Expected u'', got '1\n' [osh status] Expected 2, got 0 stdout: 1stderr: |
| osh-byterun | 16 misplaced ;; [osh-byterun stdout] Expected u'', got '1\n' [osh-byterun status] Expected 2, got 0 stdout: 1stderr: |
| dash | 17 empty clause in [[ stdout: stderr: _tmp/spec-bin/dash: 1: [[: not found |
| mksh | 17 empty clause in [[ stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: '||' expression expected |