spec test index / oilshell.org
case | bash | mksh | osh | osh_ALT | osh-byterun | description |
0 | pass | pass | pass | pass | FAIL | Append string to string |
details | ||||||
1 | pass | pass | pass | pass | FAIL | Append array to array |
details | ||||||
2 | BUG | BUG | pass | pass | pass | Append array to string should be an error |
details | details | |||||
3 | ok | ok | pass | pass | pass | Append string to array should be disallowed |
details | details | |||||
4 | pass | pass | pass | pass | FAIL | Append string to array element |
details | ||||||
5 | pass | BUG | pass | pass | FAIL | Append to last element |
details | details | |||||
6 | pass | pass | FAIL | FAIL | pass | Try to append list to element |
details | details | |||||
7 | pass | pass | pass | pass | FAIL | Strings have value semantics, not reference semantics |
details | ||||||
8 | pass | pass | FAIL | FAIL | FAIL | Append to nonexistent string |
details | details | details | ||||
9 | pass | N-I | pass | pass | FAIL | Append to nonexistent array |
details | details | |||||
10 | BUG | BUG | pass | pass | FAIL | Append used like env prefix is a parse error |
details | details | details |
35 passed, 2 ok, 1 known unimplemented, 5 known bugs, 2 failed, 0 skipped
osh-byterun | 0 Append string to string [osh-byterun stdout] Expected 'abcd\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 | 1 Append array to array [osh-byterun stdout] Expected "['x', 'y', 't', 'u v']\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 | 2 Append array to string should be an error stdout: abcstderr: |
mksh | 2 Append array to string should be an error stdout: abcstderr: |
bash | 3 Append string to array should be disallowed stdout: ['xz', 'y']stderr: |
mksh | 3 Append string to array should be disallowed stdout: ['xz', 'y']stderr: |
osh-byterun | 4 Append string to array element [osh-byterun stdout] Expected "['x', 'yz']\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 |
mksh | 5 Append to last element stdout: ['1', '2 3', ' 4']stderr: |
osh-byterun | 5 Append to last element [osh-byterun stdout] Expected "['1', '2 3 4']\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 | 6 Try to append list to element [osh status] Expected 1, got 2 stdout: stderr: Line 2 of '<stdin>' a[-1]+=(4 5) ^ Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199> |
osh_ALT | 6 Try to append list to element [osh_ALT status] Expected 1, got 2 stdout: stderr: Line 2 of '<stdin>' a[-1]+=(4 5) ^ Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199> |
osh-byterun | 7 Strings have value semantics, not reference semantics [osh-byterun stdout] Expected 'abcd abc\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 | 8 Append to nonexistent string [osh stdout] Expected u'a\nb\nc\nd\ne\n', got 'a\nb\nc\n\ne\n' stdout: a b c estderr: osh 'export' usage error: export: Invalid variable name 'd+' |
osh_ALT | 8 Append to nonexistent string [osh_ALT stdout] Expected u'a\nb\nc\nd\ne\n', got 'a\nb\nc\n\ne\n' stdout: a b c estderr: osh 'export' usage error: export: Invalid variable name 'd+' |
osh-byterun | 8 Append to nonexistent string [osh-byterun stdout] Expected u'a\nb\nc\nd\ne\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 |
mksh | 9 Append to nonexistent array stdout: stderr: _tmp/spec-bin/mksh: <stdin>[2]: syntax error: '(' unexpected |
osh-byterun | 9 Append to nonexistent array [osh-byterun stdout] Expected u"['a', 'b']\n['c', 'd']\n['e', 'f']\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 | 10 Append used like env prefix is a parse error stdout: aastderr: |
mksh | 10 Append used like env prefix is a parse error stdout: astderr: |
osh-byterun | 10 Append used like env prefix is a parse error [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 |