spec test index / oilshell.org
150 passed, 19 ok, 12 known unimplemented, 5 known bugs, 12 failed, 0 skipped
osh-byterun | 0 no expansion [osh-byterun stdout] Expected '{foo}\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 | 1 incomplete trailing expansion stdout: {a,b}_{stderr: |
osh_ALT | 1 incomplete trailing expansion stdout: {a,b}_{stderr: |
osh-byterun | 1 incomplete trailing expansion [osh-byterun stdout] Expected '{a,b}_{\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 | 2 partial leading expansion stdout: }_{a,b}stderr: |
osh_ALT | 2 partial leading expansion stdout: }_{a,b}stderr: |
osh-byterun | 2 partial leading expansion [osh-byterun stdout] Expected '}_{a,b}\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 | 3 partial leading expansion 2 stdout: {x}_{a,b}stderr: |
osh_ALT | 3 partial leading expansion 2 stdout: {x}_{a,b}stderr: |
osh-byterun | 3 partial leading expansion 2 [osh-byterun stdout] Expected '{x}_{a,b}\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 | 4 } in expansion stdout: stderr: zsh: parse error near `}' |
osh | 4 } in expansion stdout: {a,b}}stderr: |
osh_ALT | 4 } in expansion stdout: {a,b}}stderr: |
osh-byterun | 4 } in expansion [osh-byterun stdout] Expected '{a,b}}\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 single expansion [osh-byterun stdout] Expected 'foo bar\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 double expansion [osh-byterun stdout] Expected 'a_c a_d b_c b_d\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 triple expansion [osh-byterun stdout] Expected '000 001 010 011 100 101 110 111\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 double expansion with single and double quotes [osh-byterun stdout] Expected 'a_c a_d b_c b_d\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 expansion with mixed quotes [osh-byterun stdout] Expected '-Xb- -cd-\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 expansion with simple var [osh-byterun stdout] Expected '-A- -b-\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 | 11 double expansion with simple var -- bash bug stdout: b_c b_dstderr: |
osh-byterun | 11 double expansion with simple var -- bash bug [osh-byterun stdout] Expected 'A_c A_d b_c b_d\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 | 12 double expansion with braced variable [osh-byterun stdout] Expected 'A_c A_d b_c b_d\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 | 13 double expansion with literal and simple var stdout: _ _ b_c b_dstderr: |
osh-byterun | 13 double expansion with literal and simple var [osh-byterun stdout] Expected '_A_c _A_d b_c b_d\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 | 14 expansion with command sub [osh-byterun stdout] Expected '-a- -b-\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 | 15 expansion with arith sub [osh-byterun stdout] Expected '-3- -b-\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 | 16 double expansion with escaped literals [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 |
bash | 17 { in expansion stdout: {a {bstderr: |
zsh | 17 { in expansion stdout: {a {bstderr: |
osh-byterun | 17 { in expansion [osh-byterun stdout] Expected '{{a,b}\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 | 18 quoted { in expansion [osh-byterun stdout] Expected '{a {b\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 | 19 Empty expansion [osh-byterun stdout] Expected 'aXb ab aYb\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 | 20 Empty alternative stdout: ['X', '', 'Y', '']stderr: |
zsh | 20 Empty alternative stdout: ['X', '', 'Y', '']stderr: |
osh-byterun | 20 Empty alternative [osh-byterun stdout] Expected "['X', 'Y']\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 | 21 Empty alternative with empty string suffix [osh-byterun stdout] Expected "['X', '', 'Y', '']\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 | 22 nested brace expansion [osh-byterun stdout] Expected '-A- -=a=- -=b=- -B-\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 | 23 triple nested brace expansion [osh-byterun stdout] Expected '-A- -=a=- -=.x.=- -=.y.=- -=b=- -B-\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 | 24 nested and double brace expansion [osh-byterun stdout] Expected '-A- -=ac=- -=ad=- -=bc=- -=bd=- -B-\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 | 25 expansion on RHS of assignment stdout: X Ystderr: |
osh-byterun | 25 expansion on RHS of assignment [osh-byterun stdout] Expected '{X,Y}\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 | 26 no expansion with RHS assignment stdout: stderr: zsh: parse error near `\n' |
osh-byterun | 26 no expansion with RHS assignment [osh-byterun status] Expected 127, 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 | 27 Tilde expansion [osh-byterun stdout] Expected '/home/foo\n/home/bar\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 | 28 Tilde expansion with brace expansion stdout: foo~/bar ~/barstderr: |
osh | 28 Tilde expansion with brace expansion [osh stdout] Expected 'foo~/bar /home/bob/bar\n', got 'foo~/bar ~/bar\n' stdout: foo~/bar ~/barstderr: |
osh_ALT | 28 Tilde expansion with brace expansion [osh_ALT stdout] Expected 'foo~/bar /home/bob/bar\n', got 'foo~/bar ~/bar\n' stdout: foo~/bar ~/barstderr: |
osh-byterun | 28 Tilde expansion with brace expansion [osh-byterun stdout] Expected 'foo~/bar /home/bob/bar\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 | 29 Two kinds of tilde expansion stdout: ~/src ~rootstderr: |
osh | 29 Two kinds of tilde expansion [osh stdout] Expected '/home/bob/src /root\n', got '~/src ~root\n' stdout: ~/src ~rootstderr: |
osh_ALT | 29 Two kinds of tilde expansion [osh_ALT stdout] Expected '/home/bob/src /root\n', got '~/src ~root\n' stdout: ~/src ~rootstderr: |
osh-byterun | 29 Two kinds of tilde expansion [osh-byterun stdout] Expected '/home/bob/src /root\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 | 30 Tilde expansion come before var expansion [osh-byterun stdout] Expected '/home/bob\n~\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 | 31 Number range expansion stdout: -{1..8..3}-stderr: |
osh | 31 Number range expansion [osh stdout] Expected '-1- -4- -7-\n', got '-{1..8..3}-\n' stdout: -{1..8..3}-stderr: |
osh_ALT | 31 Number range expansion [osh_ALT stdout] Expected '-1- -4- -7-\n', got '-{1..8..3}-\n' stdout: -{1..8..3}-stderr: |
osh-byterun | 31 Number range expansion [osh-byterun stdout] Expected '-1- -4- -7-\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 | 32 Ascending number range expansion with negative step stdout: -{1..8..-3}-stderr: |
zsh | 32 Ascending number range expansion with negative step stdout: -7- -4- -1-stderr: |
osh | 32 Ascending number range expansion with negative step [osh stdout] Expected '-1- -4- -7-\n', got '-{1..8..-3}-\n' stdout: -{1..8..-3}-stderr: |
osh_ALT | 32 Ascending number range expansion with negative step [osh_ALT stdout] Expected '-1- -4- -7-\n', got '-{1..8..-3}-\n' stdout: -{1..8..-3}-stderr: |
osh-byterun | 32 Ascending number range expansion with negative step [osh-byterun stdout] Expected '-1- -4- -7-\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 | 33 Descending number range expansion stdout: -{8..1..3}-stderr: |
osh | 33 Descending number range expansion [osh stdout] Expected '-8- -5- -2-\n', got '-{8..1..3}-\n' stdout: -{8..1..3}-stderr: |
osh_ALT | 33 Descending number range expansion [osh_ALT stdout] Expected '-8- -5- -2-\n', got '-{8..1..3}-\n' stdout: -{8..1..3}-stderr: |
osh-byterun | 33 Descending number range expansion [osh-byterun stdout] Expected '-8- -5- -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 |
mksh | 34 Descending number range expansion with negative step stdout: -{8..1..-3}-stderr: |
zsh | 34 Descending number range expansion with negative step stdout: -2- -5- -8-stderr: |
osh | 34 Descending number range expansion with negative step [osh stdout] Expected '-8- -5- -2-\n', got '-{8..1..-3}-\n' stdout: -{8..1..-3}-stderr: |
osh_ALT | 34 Descending number range expansion with negative step [osh_ALT stdout] Expected '-8- -5- -2-\n', got '-{8..1..-3}-\n' stdout: -{8..1..-3}-stderr: |
osh-byterun | 34 Descending number range expansion with negative step [osh-byterun stdout] Expected '-8- -5- -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 |
mksh | 35 Char range expansion stdout: -{a..e}-stderr: |
osh | 35 Char range expansion [osh stdout] Expected '-a- -b- -c- -d- -e-\n', got '-{a..e}-\n' stdout: -{a..e}-stderr: |
osh_ALT | 35 Char range expansion [osh_ALT stdout] Expected '-a- -b- -c- -d- -e-\n', got '-{a..e}-\n' stdout: -{a..e}-stderr: |
osh-byterun | 35 Char range expansion [osh-byterun stdout] Expected '-a- -b- -c- -d- -e-\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 | 36 Char range expansion with step stdout: -{a..e..2}- -{a..e..-2}-stderr: |
zsh | 36 Char range expansion with step stdout: -{a..e..2}- -{a..e..-2}-stderr: |
osh | 36 Char range expansion with step [osh stdout] Expected '-a- -c- -e- -a- -c- -e-\n', got '-{a..e..2}- -{a..e..-2}-\n' stdout: -{a..e..2}- -{a..e..-2}-stderr: |
osh_ALT | 36 Char range expansion with step [osh_ALT stdout] Expected '-a- -c- -e- -a- -c- -e-\n', got '-{a..e..2}- -{a..e..-2}-\n' stdout: -{a..e..2}- -{a..e..-2}-stderr: |
osh-byterun | 36 Char range expansion with step [osh-byterun stdout] Expected '-a- -c- -e- -a- -c- -e-\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 | 37 Descending char range expansion stdout: -{e..a..2}- -{e..a..-2}-stderr: |
zsh | 37 Descending char range expansion stdout: -{e..a..2}- -{e..a..-2}-stderr: |
osh | 37 Descending char range expansion [osh stdout] Expected '-e- -c- -a- -e- -c- -a-\n', got '-{e..a..2}- -{e..a..-2}-\n' stdout: -{e..a..2}- -{e..a..-2}-stderr: |
osh_ALT | 37 Descending char range expansion [osh_ALT stdout] Expected '-e- -c- -a- -e- -c- -a-\n', got '-{e..a..2}- -{e..a..-2}-\n' stdout: -{e..a..2}- -{e..a..-2}-stderr: |
osh-byterun | 37 Descending char range expansion [osh-byterun stdout] Expected '-e- -c- -a- -e- -c- -a-\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 | 38 Fixed width number range expansion stdout: -{01..03}-stderr: |
osh | 38 Fixed width number range expansion [osh stdout] Expected '-01- -02- -03-\n', got '-{01..03}-\n' stdout: -{01..03}-stderr: |
osh_ALT | 38 Fixed width number range expansion [osh_ALT stdout] Expected '-01- -02- -03-\n', got '-{01..03}-\n' stdout: -{01..03}-stderr: |
osh-byterun | 38 Fixed width number range expansion [osh-byterun stdout] Expected '-01- -02- -03-\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 | 39 Inconsistent fixed width number range expansion stdout: -{01..003}-stderr: |
zsh | 39 Inconsistent fixed width number range expansion stdout: -01- -02- -03-stderr: |
osh | 39 Inconsistent fixed width number range expansion [osh stdout] Expected '-001- -002- -003-\n', got '-{01..003}-\n' stdout: -{01..003}-stderr: |
osh_ALT | 39 Inconsistent fixed width number range expansion [osh_ALT stdout] Expected '-001- -002- -003-\n', got '-{01..003}-\n' stdout: -{01..003}-stderr: |
osh-byterun | 39 Inconsistent fixed width number range expansion [osh-byterun stdout] Expected '-001- -002- -003-\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 | 40 Inconsistent fixed width number range expansion stdout: -{01..3}-stderr: |
osh | 40 Inconsistent fixed width number range expansion [osh stdout] Expected '-01- -02- -03-\n', got '-{01..3}-\n' stdout: -{01..3}-stderr: |
osh_ALT | 40 Inconsistent fixed width number range expansion [osh_ALT stdout] Expected '-01- -02- -03-\n', got '-{01..3}-\n' stdout: -{01..3}-stderr: |
osh-byterun | 40 Inconsistent fixed width number range expansion [osh-byterun stdout] Expected '-01- -02- -03-\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 | 41 Side effect in expansion stdout: a-0 b-0 c-0stderr: |
zsh | 41 Side effect in expansion stdout: a-0 b-0 c-0stderr: |
osh-byterun | 41 Side effect in expansion [osh-byterun stdout] Expected 'a-0 b-1 c-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 |