spec test index / oilshell.org
69 passed, 18 OK, 8 not implemented, 5 BUG, 0 failed, 0 timeouts, 0 cases skipped
dash | 1 eval accepts/ignores -- stdout: stderr: dash: 1: eval: --: not found |
dash | 2 eval usage stdout: 127 127stderr: dash: 1: eval: -: not found dash: 1: eval: -z: not found |
mksh | 2 eval usage stdout: 127stderr: mksh: -: not found mksh: <stdin>[3]: eval: -z: unknown option |
zsh | 2 eval usage stdout: 0 127stderr: zsh: command not found: -z |
dash | 4 source accepts/ignores -- stdout: stderr: dash: 2: source: not found |
dash | 5 Source nonexistent stdout: status=127stderr: dash: 1: source: not found |
zsh | 5 Source nonexistent stdout: status=127stderr: source: no such file or directory: /nonexistent/path |
dash | 6 Source with no arguments stdout: status=127stderr: dash: 1: source: not found |
mksh | 6 Source with no arguments stdout: status=1stderr: mksh: <stdin>[1]: source: missing argument |
zsh | 6 Source with no arguments stdout: status=1stderr: source: not enough arguments |
dash | 7 Source with arguments stdout: show-argv:stderr: |
dash | 8 Source from a function, mutating argv and defining a local var stdout: source-argv: args to func source-argv: to func func foo=foo_val foo=stderr: |
dash | 9 Source with syntax error stdout: stderr: dash: 2: /home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.8898/09-dash/syntax-error.sh: Syntax error: newline unexpected |
bash-4 | 9 Source with syntax error stdout: status=1stderr: /home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.8898/09-bash-4/syntax-error.sh: line 1: syntax error near unexpected token `newline' /home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.8898/09-bash-4/syntax-error.sh: line 1: `echo >' |
mksh | 9 Source with syntax error stdout: status=1stderr: mksh: /home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.8898/09-mksh/syntax-error.sh[1]: syntax error: 'newline' unexpected |
zsh | 9 Source with syntax error stdout: status=126stderr: /home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.8898/09-zsh/syntax-error.sh:2: parse error near `\n' |
dash | 10 Eval with syntax error stdout: stderr: dash: 1: eval: Syntax error: end of file unexpected |
bash-4 | 10 Eval with syntax error stdout: status=1stderr: bash-4.4: eval: line 1: syntax error near unexpected token `newline' bash-4.4: eval: line 1: `echo >' |
mksh | 10 Eval with syntax error stdout: stderr: mksh: syntax error: 'newline' unexpected |
zsh | 10 Eval with syntax error stdout: status=1stderr: zsh: parse error near `>' |
dash | 11 Eval in does tilde expansion stdout: FALSEstderr: dash: 4: [[: not found dash: 5: [[: not found |
mksh | 11 Eval in does tilde expansion stdout: FALSEstderr: |
dash | 12 Eval in bash does tilde expansion in array stdout: stderr: dash: 1: eval: Syntax error: "(" unexpected |
mksh | 12 Eval in bash does tilde expansion in array stdout: FALSEstderr: |
zsh | 12 Eval in bash does tilde expansion in array stdout: FALSE FALSEstderr: |
dash | 13 source works for files in current directory (bash only) stdout: stderr: dash: 3: .: cmd: not found |
mksh | 13 source works for files in current directory (bash only) stdout: stderr: mksh: <stdin>[3]: .: cmd: No such file or directory |
zsh | 13 source works for files in current directory (bash only) stdout: status=127stderr: .: no such file or directory: cmd |
dash | 19 source doesn't crash when targeting a directory stdout: status=0stderr: |
mksh | 19 source doesn't crash when targeting a directory stdout: status=0stderr: |
zsh | 19 source doesn't crash when targeting a directory stdout: status=0stderr: |