122 passed, 15 ok, 13 known unimplemented, 5 known bugs, 13 failed, 0 skipped
| osh | 1 incomplete trailing expansion stdout: {a,b}_{
stderr: |
| osh | 2 partial leading expansion stdout: }_{a,b}
stderr: |
| osh | 3 partial leading expansion 2 stdout: {x}_{a,b}
stderr: |
| zsh | 4 } in expansion stdout: stderr: zsh: parse error near `}' |
| osh | 4 } in expansion stdout: {a,b}}
stderr: |
| bash | 11 double expansion with simple var -- bash bug stdout: b_c b_dstderr: |
| bash | 13 double expansion with literal and simple var stdout: _ _ b_c b_dstderr: |
| bash | 17 { in expansion stdout: {a {b
stderr: |
| zsh | 17 { in expansion stdout: {a {b
stderr: |
| mksh | 20 Empty alternative stdout: ['X', '', 'Y', '']stderr: |
| zsh | 20 Empty alternative stdout: ['X', '', 'Y', '']stderr: |
| mksh | 25 expansion on RHS of assignment stdout: X Ystderr: |
| zsh | 26 no expansion with RHS assignment stdout: stderr: zsh: parse error near `\n' |
| mksh | 28 Tilde expansion with brace expansion stdout: foo~/bar ~/barstderr: |
| osh | 28 Tilde expansion with brace expansion [osh stdout] Expected b'foo~/bar /home/bob/bar\n', got b'foo~/bar ~/bar\n' stdout: foo~/bar ~/barstderr: |
| mksh | 29 Two kinds of tilde expansion stdout: ~/src ~rootstderr: |
| osh | 29 Two kinds of tilde expansion [osh stdout] Expected b'/home/bob/src /root\n', got b'~/src ~root\n' stdout: ~/src ~rootstderr: |
| mksh | 31 Number range expansion stdout: -{1..8..3}-
stderr: |
| osh | 31 Number range expansion [osh stdout] Expected b'-1- -4- -7-\n', got b'-{1..8..3}-\n' stdout: -{1..8..3}-
stderr: |
| 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 b'-1- -4- -7-\n', got b'-{1..8..-3}-\n' stdout: -{1..8..-3}-
stderr: |
| mksh | 33 Descending number range expansion stdout: -{8..1..3}-
stderr: |
| osh | 33 Descending number range expansion [osh stdout] Expected b'-8- -5- -2-\n', got b'-{8..1..3}-\n' stdout: -{8..1..3}-
stderr: |
| 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 b'-8- -5- -2-\n', got b'-{8..1..-3}-\n' stdout: -{8..1..-3}-
stderr: |
| mksh | 35 Char range expansion stdout: -{a..e}-
stderr: |
| zsh | 35 Char range expansion stdout: -{a..e}-
stderr: |
| osh | 35 Char range expansion [osh stdout] Expected b'-a- -b- -c- -d- -e-\n', got b'-{a..e}-\n' stdout: -{a..e}-
stderr: |
| 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 b'-a- -c- -e- -a- -c- -e-\n', got b'-{a..e..2}- -{a..e..-2}-\n' stdout: -{a..e..2}- -{a..e..-2}-
stderr: |
| 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 b'-e- -c- -a- -e- -c- -a-\n', got b'-{e..a..2}- -{e..a..-2}-\n' stdout: -{e..a..2}- -{e..a..-2}-
stderr: |
| mksh | 38 Fixed width number range expansion stdout: -{01..03}-
stderr: |
| osh | 38 Fixed width number range expansion [osh stdout] Expected b'-01- -02- -03-\n', got b'-{01..03}-\n' stdout: -{01..03}-
stderr: |
| 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 b'-001- -002- -003-\n', got b'-{01..003}-\n' stdout: -{01..003}-
stderr: |
| mksh | 40 Inconsistent fixed width number range expansion stdout: -{01..3}-
stderr: |
| osh | 40 Inconsistent fixed width number range expansion [osh stdout] Expected b'-01- -02- -03-\n', got b'-{01..3}-\n' stdout: -{01..3}-
stderr: |
| 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 | 41 Side effect in expansion [osh stdout] Expected b'a-0 b-1 c-2\n', got b'' stdout: stderr: Traceback (most recent call last):
File "bin/osh", line 378, in <module>
sys.exit(main(sys.argv))
File "bin/osh", line 368, in main
return OshMain(main_argv)
File "bin/osh", line 327, in OshMain
status = ex.Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 937, in Execute
status = self._Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 828, in _Execute
status = self._Execute(child) # last status wins
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 716, in _Execute
argv = self.ev.EvalWordSequence(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 962, in EvalWordSequence
return self._EvalWordSequence(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 945, in _EvalWordSequence
args = self._EvalWordAndReframe(w)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 906, in _EvalWordAndReframe
part_vals = self._EvalParts(word)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 799, in _EvalParts
for v in self.part_ev._EvalWordPart(p, quoted=quoted):
File "/home/andy/git/oil/bin/../core/word_eval.py", line 731, in _EvalWordPart
if arith_ev.Eval(part.anode):
File "/home/andy/git/oil/bin/../core/expr_eval.py", line 64, in Eval
result = self._Eval(node)
File "/home/andy/git/oil/bin/../core/expr_eval.py", line 238, in _Eval
raise AssertionError("Shouldn't get here")
AssertionError: Shouldn't get here
|