spec test index / oilshell.org
57 passed, 12 ok, 0 known unimplemented, 1 known bugs, 0 failed, 0 skipped
mksh | 0 Incomplete Function stdout: stderr: |
osh-byterun | 0 Incomplete Function [osh-byterun status] Expected 2, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
mksh | 1 Incomplete Function 2 stdout: stderr: _tmp/spec-bin/mksh: <stdin>[2]: syntax error: '{' unmatched |
osh-byterun | 1 Incomplete Function 2 [osh-byterun status] Expected 2, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
mksh | 2 Bad function stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'ls' unexpected |
osh-byterun | 2 Bad function [osh-byterun status] Expected 2, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
bash | 3 Unbraced function body. stdout: stderr: _tmp/spec-bin/bash: line 1: syntax error near unexpected token `ls' _tmp/spec-bin/bash: line 1: `one_line() ls; one_line;' |
osh | 3 Unbraced function body. stdout: stderr: Line 1 of '<stdin>' one_line() ls; one_line; ^~ Unexpected word while parsing compound command |
osh_ALT | 3 Unbraced function body. stdout: stderr: Line 1 of '<stdin>' one_line() ls; one_line; ^~ Unexpected word while parsing compound command |
osh-byterun | 3 Unbraced function body. [osh-byterun status] Expected 2, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 4 Function with spaces, to see if ( and ) are separate tokens. [osh-byterun stdout] Expected 'in-func\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 5 subshell function [osh-byterun stdout] Expected '5 0\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 6 Hard case, function with } token in it [osh-byterun stdout] Expected '}\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
dash | 7 . in function name stdout: stderr: _tmp/spec-bin/dash: 1: Syntax error: Bad function name |
osh-byterun | 7 . in function name [osh-byterun stdout] Expected 'func-name.ext\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
dash | 8 = in function name stdout: stderr: _tmp/spec-bin/dash: 1: Syntax error: Bad function name |
mksh | 8 = in function name stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: func-name=ext: invalid function name |
osh-byterun | 8 = in function name [osh-byterun stdout] Expected 'func-name=ext\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
bash | 9 Function name with $ stdout: stderr: _tmp/spec-bin/bash: line 1: `foo$bar': not a valid identifier |
mksh | 9 Function name with $ stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: foo$bar: invalid function name |
osh-byterun | 9 Function name with $ [osh-byterun status] Expected 2, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
dash | 10 Function name with ! stdout: stderr: _tmp/spec-bin/dash: 1: Syntax error: Bad function name |
osh-byterun | 10 Function name with ! [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
dash | 11 Function name with - stdout: stderr: _tmp/spec-bin/dash: 1: Syntax error: Bad function name |
osh-byterun | 11 Function name with - [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 12 Break after ) is OK. [osh-byterun stdout] Expected u'hi\nin-func\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 13 Nested definition [osh-byterun stdout] Expected 'nested\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |