spec test index / oilshell.org
| case | dash | bash | mksh | zsh | osh | description |
| 0 | pass | pass | pass | pass | pass | Eval |
| 1 | pass | pass | pass | pass | pass | Source |
| 2 | ok | pass | pass | ok | pass | Source nonexistent |
| details | details | |||||
| 3 | ok | ok | pass | pass | pass | Source with no arguments |
| details | details | |||||
| 4 | N-I | pass | pass | pass | pass | Source with arguments |
| details | ||||||
| 5 | N-I | pass | pass | pass | pass | Source from a function, mutating argv and defining a local var |
| details | ||||||
| 6 | ok | ok | ok | ok | pass | Source with syntax error |
| details | details | details | details | |||
| 7 | ok | ok | ok | ok | pass | Eval with syntax error |
| details | details | details | details | |||
| 8 | BUG | pass | BUG | pass | pass | Eval in does tilde expansion |
| details | details | |||||
| 9 | N-I | pass | BUG | BUG | pass | Eval in bash does tilde expansion in array |
| details | details | details |
31 passed, 12 ok, 3 known unimplemented, 4 known bugs, 0 failed, 0 skipped
| dash | 2 Source nonexistent stdout: status=127stderr: _tmp/spec-bin/dash: 1: source: not found |
| zsh | 2 Source nonexistent stdout: status=127stderr: source: no such file or directory: /nonexistent/path |
| dash | 3 Source with no arguments stdout: status=127stderr: _tmp/spec-bin/dash: 1: source: not found |
| bash | 3 Source with no arguments stdout: status=2stderr: _tmp/spec-bin/bash: line 1: source: filename argument required source: usage: source filename [arguments] |
| dash | 4 Source with arguments stdout: show-argv:stderr: |
| dash | 5 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 | 6 Source with syntax error stdout: stderr: _tmp/spec-bin/dash: 2: /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-eval-source.test.sh/syntax-error.sh: Syntax error: newline unexpected |
| bash | 6 Source with syntax error stdout: status=1stderr: /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-eval-source.test.sh/syntax-error.sh: line 1: syntax error near unexpected token `newline' /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-eval-source.test.sh/syntax-error.sh: line 1: `echo >' |
| mksh | 6 Source with syntax error stdout: status=1stderr: _tmp/spec-bin/mksh: /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-eval-source.test.sh/syntax-error.sh[1]: syntax error: 'newline' unexpected |
| zsh | 6 Source with syntax error stdout: status=126stderr: /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-eval-source.test.sh/syntax-error.sh:2: parse error near `\n' |
| dash | 7 Eval with syntax error stdout: stderr: _tmp/spec-bin/dash: 1: eval: Syntax error: end of file unexpected |
| bash | 7 Eval with syntax error stdout: status=1stderr: _tmp/spec-bin/bash: eval: line 1: syntax error near unexpected token `newline' _tmp/spec-bin/bash: eval: line 1: `echo >' |
| mksh | 7 Eval with syntax error stdout: stderr: _tmp/spec-bin/mksh: syntax error: 'newline' unexpected |
| zsh | 7 Eval with syntax error stdout: status=1stderr: zsh: parse error near `>' |
| dash | 8 Eval in does tilde expansion stdout: FALSEstderr: _tmp/spec-bin/dash: 4: [[: not found _tmp/spec-bin/dash: 5: [[: not found |
| mksh | 8 Eval in does tilde expansion stdout: FALSEstderr: |
| dash | 9 Eval in bash does tilde expansion in array stdout: stderr: _tmp/spec-bin/dash: 1: eval: Syntax error: "(" unexpected
|
| mksh | 9 Eval in bash does tilde expansion in array stdout: FALSEstderr: |
| zsh | 9 Eval in bash does tilde expansion in array stdout: FALSE FALSEstderr: |