95 passed, 25 OK, 16 not implemented, 12 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
dash | 2 Turn an array into an integer. stdout: stderr: dash: 1: Syntax error: "(" unexpected |
ash | 2 Turn an array into an integer. stdout: stderr: ash: syntax error: unexpected "(" |
dash | 3 assign readonly -- one line stdout: stderr: dash: 1: x: is read only |
mksh | 3 assign readonly -- one line stdout: stderr: mksh: <stdin>[1]: read-only: x |
ash | 3 assign readonly -- one line stdout: stderr: ash: x: is read only |
bash | 4 assign readonly -- multiple lines stdout: histderr: bash: line 2: x: readonly variable |
dash | 4 assign readonly -- multiple lines stdout: stderr: dash: 2: x: is read only |
mksh | 4 assign readonly -- multiple lines stdout: stderr: mksh: <stdin>[2]: read-only: x |
ash | 4 assign readonly -- multiple lines stdout: stderr: ash: x: is read only |
dash | 5 assign readonly -- multiple lines -- set -o posix stdout: stderr: dash: 1: set: Illegal option -o posix |
mksh | 5 assign readonly -- multiple lines -- set -o posix stdout: stderr: mksh: <stdin>[3]: read-only: x |
ash | 5 assign readonly -- multiple lines -- set -o posix stdout: stderr: ash: set: line 1: illegal option -o posix ash: x: is read only |
dash | 6 unset readonly -- one line stdout: stderr: dash: 1: unset: x: is read only |
zsh | 6 unset readonly -- one line stdout: stderr: zsh: read-only variable: x |
ash | 6 unset readonly -- one line stdout: stderr: ash: unset: line 1: x: is read only |
dash | 7 unset readonly -- multiple lines stdout: stderr: dash: 2: unset: x: is read only |
zsh | 7 unset readonly -- multiple lines stdout: stderr: zsh: read-only variable: x |
ash | 7 unset readonly -- multiple lines stdout: stderr: ash: unset: line 2: x: is read only |
mksh | 8 First word like foo$x() and foo$[1+2] (regression) stdout: stderr: mksh: <stdin>[1]: syntax error: '"z"' unexpected |
zsh | 8 First word like foo$x() and foo$[1+2] (regression) stdout: stderr: zsh: unknown file attribute: z |
mksh | 9 Function names stdout: stderr: mksh: <stdin>[1]: foo$x: invalid function name |
zsh | 9 Function names stdout: stderr: |
bash | 10 file with NUL byte stdout: stderr: tmp.sh: tmp.sh: cannot execute binary file |
dash | 10 file with NUL byte stdout: stderr: tmp.sh: 1: tmp.sh: -e: not found |
zsh | 10 file with NUL byte stdout: one echo twostderr: |
osh | 10 file with NUL byte stdout: onestderr: |
bash | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: |
dash | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: dash: 4: Bad substitution |
zsh | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: zsh: bad substitution |
ash | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: ash: syntax error: bad substitution |
mksh | 13 other builtins fail on writing to full disk stdout: status=0 status=0stderr: |
zsh | 13 other builtins fail on writing to full disk stdout: status=0 status=0stderr: |
dash | 15 for loop (issue #1446) stdout: stderr: |
mksh | 15 for loop (issue #1446) stdout: stderr: |
ash | 15 for loop (issue #1446) stdout: stderr: |
osh | 15 for loop (issue #1446) [osh stdout] Expected '0\n1\n', got '0\n' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: 0stderr: 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 1213, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/uke/oil/core/main_loop.py", line 375, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags) File "/home/uke/oil/osh/cmd_eval.py", line 2109, in ExecuteAndCatch status = self._Execute(node) File "/home/uke/oil/osh/cmd_eval.py", line 1908, in _Execute status = self._Dispatch(node, cmd_st) File "/home/uke/oil/osh/cmd_eval.py", line 1801, in _Dispatch status = self._DoForExpr(node) File "/home/uke/oil/osh/cmd_eval.py", line 1372, in _DoForExpr self.arith_ev.Eval(update) File "/home/uke/oil/osh/sh_expr_eval.py", line 611, in Eval old_big, lval = self._EvalLhsAndLookupArith(node.child) File "/home/uke/oil/osh/sh_expr_eval.py", line 520, in _EvalLhsAndLookupArith location.TokenForArith(node)) File "/home/uke/oil/osh/sh_expr_eval.py", line 130, in OldValue cell = mem.GetCellDeref(var_name) File "/home/uke/oil/core/state.py", line 2318, in GetCellDeref cell, _ = self._ResolveNameOrRef(name, which_scopes) ValueError: too many values to unpack |
dash | 16 for loop 2 (issue #1446) stdout: stderr: |
mksh | 16 for loop 2 (issue #1446) stdout: stderr: |
ash | 16 for loop 2 (issue #1446) stdout: stderr: |
osh | 16 for loop 2 (issue #1446) [osh stdout] Expected '0\n1\n', got '0\n' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: 0stderr: 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 1213, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/uke/oil/core/main_loop.py", line 375, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags) File "/home/uke/oil/osh/cmd_eval.py", line 2109, in ExecuteAndCatch status = self._Execute(node) File "/home/uke/oil/osh/cmd_eval.py", line 1908, in _Execute status = self._Dispatch(node, cmd_st) File "/home/uke/oil/osh/cmd_eval.py", line 1801, in _Dispatch status = self._DoForExpr(node) File "/home/uke/oil/osh/cmd_eval.py", line 1372, in _DoForExpr self.arith_ev.Eval(update) File "/home/uke/oil/osh/sh_expr_eval.py", line 611, in Eval old_big, lval = self._EvalLhsAndLookupArith(node.child) File "/home/uke/oil/osh/sh_expr_eval.py", line 520, in _EvalLhsAndLookupArith location.TokenForArith(node)) File "/home/uke/oil/osh/sh_expr_eval.py", line 130, in OldValue cell = mem.GetCellDeref(var_name) File "/home/uke/oil/core/state.py", line 2318, in GetCellDeref cell, _ = self._ResolveNameOrRef(name, which_scopes) ValueError: too many values to unpack |
bash | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: 1 42stderr: |
dash | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: stderr: dash: 4: Illegal number: a[$(echo 42 | tee PWNED)]=1 |
mksh | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: 1 42stderr: |
zsh | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: 1 42stderr: |
ash | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: stderr: ash: arithmetic syntax error |
bash | 20 process sub <(echo 42 | tee PWNED) not allowed stdout: NOPEstderr: bash: line 4: <(echo 42 | tee PWNED): syntax error: operand expected (error token is "<(echo 42 | tee PWNED)") |
dash | 20 process sub <(echo 42 | tee PWNED) not allowed stdout: stderr: dash: 4: Illegal number: a[<(echo 42 | tee PWNED)]=1 |
ash | 20 process sub <(echo 42 | tee PWNED) not allowed stdout: stderr: ash: arithmetic syntax error |
bash | 21 unset doesn't allow command execution stdout: len=1 len=0 PWNED 0stderr: |
dash | 21 unset doesn't allow command execution stdout: stderr: dash: 1: typeset: not found dash: 2: Syntax error: "(" unexpected |
mksh | 21 unset doesn't allow command execution stdout: len=1 len=0 PWNED 0stderr: |
zsh | 21 unset doesn't allow command execution stdout: len=1 len=1 PWNED 0stderr: zsh: a: assignment to invalid subscript range |
ash | 21 unset doesn't allow command execution stdout: stderr: ash: typeset: not found ash: syntax error: unexpected "(" |
dash | 23 (( status bug stdout: stderr: |
ash | 23 (( status bug stdout: stderr: |