spec test index / oilshell.org
53 passed, 14 ok, 0 known unimplemented, 8 known bugs, 5 failed, 0 skipped
| bash | 1 Bad braced var sub -- not allowed stdout: stderr: /bin/bash: line 1: ${%}: bad substitution
|
| mksh | 1 Bad braced var sub -- not allowed stdout: stderr: /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: /bin/mksh: <stdin>[1]: syntax error: 'while' unmatched |
| mksh | 4 Incomplete for stdout: stderr: /bin/mksh: <stdin>[1]: syntax error: 'newline' unexpected |
| mksh | 5 Incomplete if stdout: stderr: /bin/mksh: <stdin>[1]: syntax error: 'if' unmatched |
| mksh | 6 do unexpected stdout: stderr: /bin/mksh: <stdin>[1]: syntax error: 'do' unexpected |
| osh | 6 do unexpected [osh status] Expected 2, got 0 stdout: stderr: |
| osh_ALT | 6 do unexpected [osh_ALT status] Expected 2, got 0 stdout: stderr: |
| mksh | 7 } is a parse error stdout: stderr: /bin/mksh: <stdin>[1]: syntax error: '}' unexpected |
| dash | 8 { is its own word, needs a space stdout: status=127stderr: /bin/dash: 1: {ls: not found
|
| mksh | 8 { is its own word, needs a space stdout: stderr: /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_ALT | 8 { is its own word, needs a space [osh_ALT 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: /bin/bash: line 3: `i.j': not a valid identifier |
| mksh | 10 Invalid for loop variable name stdout: stderr: /bin/mksh: <stdin>[1]: for: bad identifier |
| bash | 12 bad var name in export stdout: stderr: /bin/bash: line 1: export: `FOO-BAR=foo': not a valid identifier |
| mksh | 12 bad var name in export stdout: stderr: /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: /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_ALT | 14 misplaced parentheses are not a subshell [osh_ALT 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: /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_ALT | 15 incomplete command sub [osh_ALT 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: /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_ALT | 16 misplaced ;; [osh_ALT stdout] Expected u'', got '1\n' [osh_ALT status] Expected 2, got 0 stdout: 1stderr: |