spec test index / oilshell.org
50 passed, 5 OK, 15 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
dash | 0 strict_arith option stdout: stderr: dash: 1: shopt: not found |
bash | 0 strict_arith option stdout: stderr: bash: line 1: shopt: strict_arith: invalid shell option name |
mksh | 0 strict_arith option stdout: stderr: mksh: <stdin>[1]: shopt: not found |
bash | 2 top level control flow stdout: SUBSHELL BREAK CONTINUE RETURN DONEstderr: /home/andy/git/oilshell/oil/test/../spec/testdata/top-level-control-flow.sh: line 14: return: can only `return' from a function or sourced script /home/andy/git/oilshell/oil/test/../spec/testdata/top-level-control-flow.sh: line 17: break: only meaningful in a `for', `while', or `until' loop /home/andy/git/oilshell/oil/test/../spec/testdata/top-level-control-flow.sh: line 19: continue: only meaningful in a `for', `while', or `until' loop /home/andy/git/oilshell/oil/test/../spec/testdata/top-level-control-flow.sh: line 24: return: can only `return' from a function or sourced script |
bash | 3 errexit and top-level control flow stdout: SUBSHELLstderr: /home/andy/git/oilshell/oil/test/../spec/testdata/top-level-control-flow.sh: line 14: return: can only `return' from a function or sourced script |
dash | 4 shopt -s strict_control_flow stdout: break histderr: dash: 1: shopt: not found |
bash | 4 shopt -s strict_control_flow stdout: break histderr: bash: line 1: shopt: strict_control_flow: invalid shell option name bash: line 3: break: only meaningful in a `for', `while', or `until' loop |
mksh | 4 shopt -s strict_control_flow stdout: break histderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[3]: break: can't break |
bash | 5 return at top level is an error stdout: status=1stderr: bash: line 1: return: can only `return' from a function or sourced script |
dash | 9 empty argv WITH strict_argv stdout: empty status=0stderr: dash: 1: shopt: not found |
bash | 9 empty argv WITH strict_argv stdout: empty status=0stderr: bash: line 1: shopt: strict_argv: invalid shell option name |
mksh | 9 empty argv WITH strict_argv stdout: empty status=0stderr: mksh: <stdin>[1]: shopt: not found |
dash | 10 Arrays are incorrectly compared, but strict_array prevents it stdout: stderr: dash: 1: Syntax error: "(" unexpected |
bash | 10 Arrays are incorrectly compared, but strict_array prevents it stdout: 2 4 EQUAL EQUALstderr: bash: line 7: shopt: strict_array: invalid shell option name |
mksh | 10 Arrays are incorrectly compared, but strict_array prevents it stdout: 2 4 EQUAL EQUALstderr: mksh: <stdin>[7]: shopt: not found |
dash | 11 automatically creating arrays WITHOUT strict_array stdout: stderr: dash: 1: undef[2]=x: not found dash: 2: undef[3]=y: not found dash: 3: Bad substitution |
dash | 12 automatically creating arrays are INDEXED, not associative stdout: stderr: dash: 1: shopt: not found dash: 3: undef[2]=x: not found dash: 4: undef[3]=y: not found dash: 7: undef[bad]=zzz: not found dash: 8: Bad substitution |
dash | 13 simple_eval_builtin stdout: status=0 one status=0 two status=0 --- status=0 one status=0 two status=0 ---stderr: dash: 8: shopt: not found dash: 8: shopt: not found |
bash | 13 simple_eval_builtin stdout: status=0 one status=0 two status=0 --- status=0 one status=0 two status=0 ---stderr: bash: line 8: shopt: simple_eval_builtin: invalid shell option name bash: line 8: shopt: simple_eval_builtin: invalid shell option name |
mksh | 13 simple_eval_builtin stdout: status=0 one status=0 two status=0 --- status=0 one status=0 two status=0 ---stderr: mksh: <stdin>[10]: shopt: not found mksh: <stdin>[10]: shopt: not found |