134 passed, 7 OK, 5 not implemented, 3 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
mksh | 4 [[ regex matching stdout: stderr: mksh: <stdin>[2]: syntax error: '=~' unexpected operator/operand |
mksh | 5 [[ regex syntax error stdout: stderr: mksh: <stdin>[1]: syntax error: '=~' unexpected operator/operand |
mksh | 14 Octal literals with -eq stdout: falsestderr: mksh: <stdin>[1]: shopt: not found |
mksh | 15 Hex literals with -eq stdout: falsestderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[4]: 0x0f: bad number '0x0f' |
mksh | 20 [[ with op variable (compare with test-builtin.test.sh) stdout: stderr: mksh: <stdin>[2]: syntax error: '$op' unexpected operator/operand |
mksh | 26 Argument that looks like a real operator stdout: stderr: mksh: <stdin>[1]: syntax error: '-f' missing argument |
bash-4 | 29 (( array1 == array2 )) doesn't work stdout: status=1 status=1 status=1stderr: bash-4.4: line 6: ((: 1 3: syntax error in expression (error token is "3") bash-4.4: line 9: ((: 1 3: syntax error in expression (error token is "3") bash-4.4: line 12: ((: 1 3: syntax error in expression (error token is "3") |
mksh | 34 [[ '(' foo ]] is syntax error stdout: stderr: mksh: <stdin>[1]: syntax error: 'foo' unexpected operator/operand |
mksh | 36 [[ -z ]] is syntax error stdout: stderr: mksh: <stdin>[2]: syntax error: 'echo' unexpected operator/operand |
mksh | 38 [[ -z '>' a ]] is syntax error stdout: stderr: mksh: <stdin>[1]: syntax error: '--' unexpected operator/operand |
mksh | 40 [[ ]] is syntax error stdout: stderr: mksh: <stdin>[1]: syntax error: 'newline' unexpected operator/operand |
mksh | 41 [[ && ]] is syntax error stdout: stderr: mksh: <stdin>[1]: syntax error: '&&' expression expected |
mksh | 42 [[ a 3< b ]] doesn't work (bug regression) stdout: status=0 status=1stderr: |
mksh | 45 tilde expansion with =~ (confusing) stdout: stderr: |
osh | 46 [[ ]] with redirect [osh stdout] Expected '0\n--\nSTDERR\n', got '' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 202, in <module> sys.exit(main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 171, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 141, in AppBundleMain return shell.Main('osh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 1253, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/uke/oil/core/main_loop.py", line 336, in Batch was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags) File "/home/uke/oil/core/main_loop.py", line 401, in Batch2 is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags) File "/home/uke/oil/osh/cmd_eval.py", line 2175, in ExecuteAndCatch status = self._Execute(node) File "/home/uke/oil/osh/cmd_eval.py", line 1974, in _Execute status = self._Dispatch(node, cmd_st) File "/home/uke/oil/osh/cmd_eval.py", line 1875, in _Dispatch status = self._DoRedirect(node, cmd_st) File "/home/uke/oil/osh/cmd_eval.py", line 1648, in _DoRedirect status = self._Execute(node.child) File "/home/uke/oil/osh/cmd_eval.py", line 1974, in _Execute status = self._Dispatch(node, cmd_st) File "/home/uke/oil/osh/cmd_eval.py", line 1733, in _Dispatch result = self.bool_ev.EvalB(node.expr) File "/home/uke/oil/osh/sh_expr_eval.py", line 1231, in EvalB s1 = self._EvalCompoundWord(node.left) File "/home/uke/oil/osh/sh_expr_eval.py", line 1141, in _EvalCompoundWord val = self.word_ev.EvalWordToString(word, eval_flags) File "/home/uke/oil/osh/word_eval.py", line 2103, in EvalWordToString self._EvalWordPart(p, part_vals, 0) File "/home/uke/oil/osh/word_eval.py", line 1881, in _EvalWordPart quoted) # type: part_value_t File "/home/uke/oil/osh/word_eval.py", line 2629, in _EvalCommandSub stdout_str = self.shell_ex.RunCommandSub(cs_part) File "/home/uke/oil/core/executor.py", line 691, in RunCommandSub status, stdout_str, stderr_str = self.CaptureStdout(node) File "/home/uke/oil/core/executor.py", line 619, in CaptureStdout fds, w, exc = select.select([r,r2], [], [r,r2], -1) NameError: global name 'select' is not defined |
mksh | 49 negative numbers - zero, decimal, octal, hex, base N stdout: zero=0 decimal=0 octal=1 hex=2 baseN=2stderr: mksh: <stdin>[7]: -0xff: bad number '0xff' mksh: <stdin>[9]: -64#a: bad number '64#a' |