122 passed, 4 ok, 4 known unimplemented, 0 known bugs, 5 failed, 0 skipped
| mksh | 4 [[ regex matching stdout: stderr: /bin/mksh: <stdin>[2]: syntax error: '=~' unexpected operator/operand |
| mksh | 5 [[ regex syntax error stdout: stderr: /bin/mksh: <stdin>[1]: syntax error: '=~' unexpected operator/operand |
| osh | 13 precedence of && and || in a command context [osh stdout] Expected 'NO precedence\n', got 'YES\n' stdout: YESstderr: |
| osh_ALT | 13 precedence of && and || in a command context [osh_ALT stdout] Expected 'NO precedence\n', got 'YES\n' stdout: YESstderr: |
| mksh | 14 Octal literals with -eq stdout: falsestderr: |
| mksh | 15 Hex literals with -eq stdout: falsestderr: /bin/mksh: <stdin>[3]: 0x0f: bad number '0x0f' |
| bash | 18 -eq on strings stdout: true truestderr: |
| mksh | 18 -eq on strings stdout: true truestderr: |
| mksh | 21 [[ with op variable stdout: stderr: /bin/mksh: <stdin>[2]: syntax error: '$op' unexpected operator/operand |
| mksh | 29 Argument that looks like a real operator stdout: stderr: /bin/mksh: <stdin>[1]: syntax error: '-f' missing argument |
| osh | 29 Argument that looks like a real operator [osh status] Expected 2, got 1 stdout: stderr: Traceback (most recent call last):
File "bin/osh", line 440, in <module>
main(sys.argv)
File "bin/osh", line 427, in main
sys.exit(OilMain(argv))
File "bin/osh", line 410, in OilMain
status = OshMain(main_argv)
File "bin/osh", line 373, in OshMain
status = ex.Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 892, in Execute
status = self._Execute(node, fork_external=fork_external)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 856, in _Execute
status, check_errexit = self._Dispatch(node, fork_external)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 674, in _Dispatch
status = self._ExecuteList(node.children)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 885, in _ExecuteList
status = self._Execute(child) # last status wins
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 856, in _Execute
status, check_errexit = self._Dispatch(node, fork_external)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 621, in _Dispatch
result = self.bool_ev.Eval(node.expr)
File "/home/andy/git/oil/bin/../core/expr_eval.py", line 157, in Eval
return self._Eval(node)
File "/home/andy/git/oil/bin/../core/expr_eval.py", line 489, in _Eval
s = self._EvalCompoundWord(node.child)
File "/home/andy/git/oil/bin/../core/expr_eval.py", line 460, in _EvalCompoundWord
val = self.word_ev.EvalWordToString(word, do_fnmatch=do_fnmatch)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 905, in EvalWordToString
for part in word.parts:
AttributeError: 'TokenWord' object has no attribute 'parts'
|
| osh_ALT | 29 Argument that looks like a real operator [osh_ALT status] Expected 2, got 1 stdout: stderr: Traceback (most recent call last):
File "/home/andy/git/oil/Python-2.7.13/Lib/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/home/andy/git/oil/Python-2.7.13/Lib/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/andy/git/oil/bin/oil.py", line 440, in <module>
main(sys.argv)
File "/home/andy/git/oil/bin/oil.py", line 427, in main
sys.exit(OilMain(argv))
File "/home/andy/git/oil/bin/oil.py", line 410, in OilMain
status = OshMain(main_argv)
File "/home/andy/git/oil/bin/oil.py", line 373, in OshMain
status = ex.Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 892, in Execute
status = self._Execute(node, fork_external=fork_external)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 856, in _Execute
status, check_errexit = self._Dispatch(node, fork_external)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 674, in _Dispatch
status = self._ExecuteList(node.children)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 885, in _ExecuteList
status = self._Execute(child) # last status wins
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 856, in _Execute
status, check_errexit = self._Dispatch(node, fork_external)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 621, in _Dispatch
result = self.bool_ev.Eval(node.expr)
File "/home/andy/git/oil/bin/../core/expr_eval.py", line 157, in Eval
return self._Eval(node)
File "/home/andy/git/oil/bin/../core/expr_eval.py", line 489, in _Eval
s = self._EvalCompoundWord(node.child)
File "/home/andy/git/oil/bin/../core/expr_eval.py", line 460, in _EvalCompoundWord
val = self.word_ev.EvalWordToString(word, do_fnmatch=do_fnmatch)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 905, in EvalWordToString
for part in word.parts:
AttributeError: 'TokenWord' object has no attribute 'parts'
|
| osh | 30 Does user array equal "$@" ? [osh stdout] Expected u'true\nfalse\n', got '' [osh status] Expected 0, got 1 stdout: stderr: Line 0 of '<unknown>' <no position info for token> osh failed: Expected string, got (DoubleQuotedPart parts:[(SimpleVarSub token:(token id:VSub_At val:"$@" span_id:31))] spids:[3032]) |
| osh_ALT | 30 Does user array equal "$@" ? [osh_ALT stdout] Expected u'true\nfalse\n', got '' [osh_ALT status] Expected 0, got 1 stdout: stderr: Line 0 of '<unknown>' <no position info for token> osh failed: Expected string, got (DoubleQuotedPart parts:[(SimpleVarSub token:(token id:VSub_At val:"$@" span_id:31))] spids:[3032]) |
| osh | 31 Array coerces to string [osh stdout] Expected u'true\nfalse\n', got '' [osh status] Expected 0, got 1 stdout: stderr: Line 0 of '<unknown>'
<no position info for token>
osh failed: Expected string, got (DoubleQuotedPart
parts: [
(BracedVarSub
token: (token id:VSub_Name val:a span_id:19)
bracket_op: (WholeArray op_id:Lit_At)
spids: [18 23]
)
]
spids: [17 24]
)
|
| osh_ALT | 31 Array coerces to string [osh_ALT stdout] Expected u'true\nfalse\n', got '' [osh_ALT status] Expected 0, got 1 stdout: stderr: Line 0 of '<unknown>'
<no position info for token>
osh failed: Expected string, got (DoubleQuotedPart
parts: [
(BracedVarSub
token: (token id:VSub_Name val:a span_id:19)
bracket_op: (WholeArray op_id:Lit_At)
spids: [18 23]
)
]
spids: [17 24]
)
|
| osh | 33 -eq with arithmetic expression! [osh stdout] Expected u'true\ntrue\n', got '' [osh status] Expected 0, got 1 stdout: stderr: osh warning: Invalid integer constant '1+2' osh warning: Invalid integer constant '1+2' |
| osh_ALT | 33 -eq with arithmetic expression! [osh_ALT stdout] Expected u'true\ntrue\n', got '' [osh_ALT status] Expected 0, got 1 stdout: stderr: osh warning: Invalid integer constant '1+2' osh warning: Invalid integer constant '1+2' |