| case | dash | bash | mksh | osh | description |
| 0 | N-I | pass | pass | FAIL | Lazy Evaluation of Alternative |
| details | details |
2 passed, 0 ok, 1 known unimplemented, 0 known bugs, 1 failed, 0 skipped
| dash | 0 Lazy Evaluation of Alternative stdout: x 0stderr: /bin/dash: 5: arithmetic expression: expecting primary: "i++" |
| osh | 0 Lazy Evaluation of Alternative [osh stdout] Expected b'x\n0\n0\n1\n', got b'x\n0\n' [osh status] Expected 0, got 1 stdout: x 0stderr: 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 689, in _EvalWordPart
quoted)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 429, in _ApplyTestOp
part_vals = self.word_ev._EvalParts(op.arg_word, quoted=quoted)
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
|