spec test index / oilshell.org
case | dash | bash | mksh | zsh | osh | osh_ALT | osh-byterun | description |
0 | pass | pass | pass | pass | pass | pass | FAIL | implicit for loop |
details | ||||||||
1 | pass | pass | pass | pass | pass | pass | FAIL | empty for loop (has "in") |
details | ||||||||
2 | pass | ok | ok | BUG | pass | pass | FAIL | for loop with invalid identifier |
details | details | details | details | |||||
3 | pass | pass | pass | pass | pass | pass | FAIL | Tilde expansion within for loop |
details | ||||||||
4 | N-I | pass | pass | pass | pass | pass | FAIL | Brace Expansion within Array |
details | details | |||||||
5 | pass | pass | pass | pass | pass | pass | FAIL | using loop var outside loop |
details | ||||||||
6 | pass | pass | pass | pass | pass | pass | FAIL | continue |
details | ||||||||
7 | pass | pass | pass | pass | pass | pass | FAIL | break |
details | ||||||||
8 | pass | pass | pass | pass | pass | pass | FAIL | while in while condition |
details | ||||||||
9 | pass | pass | pass | pass | pass | pass | FAIL | while in pipe |
details | ||||||||
10 | pass | pass | pass | pass | pass | pass | FAIL | while in pipe with subshell |
details | ||||||||
11 | pass | pass | pass | pass | pass | pass | FAIL | until loop |
details | ||||||||
12 | pass | pass | pass | ok | pass | pass | FAIL | continue at top level |
details | details | |||||||
13 | pass | pass | BUG | pass | FAIL | FAIL | FAIL | continue in subshell |
details | details | details | details |
76 passed, 3 ok, 1 known unimplemented, 2 known bugs, 1 failed, 0 skipped
osh-byterun | 0 implicit for loop [osh-byterun stdout] Expected u'1\n2\n3\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 empty for loop (has "in") [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 for loop with invalid identifier stdout: stderr: _tmp/spec-bin/bash: line 3: `-': not a valid identifier |
mksh | 2 for loop with invalid identifier stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: for: bad identifier |
zsh | 2 for loop with invalid identifier stdout: histderr: zsh: parse error near `-' zsh: parse error near `done' |
osh-byterun | 2 for loop with invalid identifier [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 | 3 Tilde expansion within for loop [osh-byterun stdout] Expected u'/home/bob/src\n/home/bob/git\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 | 4 Brace Expansion within Array stdout: -{a,b} {c,d}-stderr: |
osh-byterun | 4 Brace Expansion within Array [osh-byterun stdout] Expected u'-a\n-b\nc-\nd-\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 using loop var outside loop [osh-byterun stdout] Expected u'a\nb\nc\nc\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 continue [osh-byterun stdout] Expected u'a\na\nb\nc\nc\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 | 7 break [osh-byterun stdout] Expected u'a\nb\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 | 8 while in while condition [osh-byterun stdout] Expected u'cond\nbody\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 | 9 while in pipe [osh-byterun stdout] Expected 'status=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 | 10 while in pipe with subshell [osh-byterun stdout] Expected '2\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 | 11 until loop [osh-byterun stdout] Expected 'hi\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 |
zsh | 12 continue at top level stdout: onestderr: continue: not in while, until, select, or repeat loop |
osh-byterun | 12 continue at top level [osh-byterun stdout] Expected 'one\ntwo\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 | 13 continue in subshell stdout: > 1 Should not print . 1 > 2 Should not print . 2 > 3 Should not print . 3stderr: _tmp/spec-bin/mksh: <stdin>[5]: continue: can't continue _tmp/spec-bin/mksh: <stdin>[5]: continue: can't continue _tmp/spec-bin/mksh: <stdin>[5]: continue: can't continue |
osh | 13 continue in subshell [osh stdout] Expected '> 1\n. 1\n> 2\n. 2\n> 3\n. 3\n', got '> 1\n> 2\n> 3\n. 3\n. 2\n> 3\n. 3\n. 1\n> 2\n> 3\n. 3\n. 2\n> 3\n. 3\n' stdout: > 1 > 2 > 3 . 3 . 2 > 3 . 3 . 1 > 2 > 3 . 3 . 2 > 3 . 3stderr: |
osh_ALT | 13 continue in subshell [osh_ALT stdout] Expected '> 1\n. 1\n> 2\n. 2\n> 3\n. 3\n', got '> 1\n> 2\n> 3\n. 3\n. 2\n> 3\n. 3\n. 1\n> 2\n> 3\n. 3\n. 2\n> 3\n. 3\n' stdout: > 1 > 2 > 3 . 3 . 2 > 3 . 3 . 1 > 2 > 3 . 3 . 2 > 3 . 3stderr: |
osh-byterun | 13 continue in subshell [osh-byterun stdout] Expected '> 1\n. 1\n> 2\n. 2\n> 3\n. 3\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 |