spec test index / oilshell.org
74 passed, 18 OK, 12 not implemented, 6 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 |
mksh | 3 eval string with 'break continue return error' stdout: --- break 1 2 end func --- continue 1 2 end func --- return 1 --- false 1stderr: mksh: break: can't break mksh: break: can't break mksh: continue: can't continue mksh: continue: can't continue |
dash | 4 eval YSH block with 'break continue return error' stdout: stderr: |
bash-4 | 4 eval YSH block with 'break continue return error' stdout: stderr: |
mksh | 4 eval YSH block with 'break continue return error' stdout: stderr: |
zsh | 4 eval YSH block with 'break continue return error' stdout: stderr: |
dash | 8 source accepts/ignores -- stdout: stderr: dash: 2: source: not found |
dash | 9 Source nonexistent stdout: status=127stderr: dash: 1: source: not found |
zsh | 9 Source nonexistent stdout: status=127stderr: source: no such file or directory: /nonexistent/path |
dash | 10 Source with no arguments stdout: status=127stderr: dash: 1: source: not found |
mksh | 10 Source with no arguments stdout: status=1stderr: mksh: <stdin>[1]: source: missing argument |
zsh | 10 Source with no arguments stdout: status=1stderr: source: not enough arguments |
dash | 11 Source with arguments stdout: show-argv:stderr: |
dash | 12 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 | 13 Source with syntax error stdout: stderr: dash: 2: /home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.12858/13-dash/syntax-error.sh: Syntax error: newline unexpected |
bash-4 | 13 Source with syntax error stdout: status=1stderr: /home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.12858/13-bash-4/syntax-error.sh: line 1: syntax error near unexpected token `newline' /home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.12858/13-bash-4/syntax-error.sh: line 1: `echo >' |
mksh | 13 Source with syntax error stdout: status=1stderr: mksh: /home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.12858/13-mksh/syntax-error.sh[1]: syntax error: 'newline' unexpected |
zsh | 13 Source with syntax error stdout: status=126stderr: /home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.12858/13-zsh/syntax-error.sh:2: parse error near `\n' |
dash | 14 Eval with syntax error stdout: stderr: dash: 1: eval: Syntax error: end of file unexpected |
bash-4 | 14 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 | 14 Eval with syntax error stdout: stderr: mksh: syntax error: 'newline' unexpected |
zsh | 14 Eval with syntax error stdout: status=1stderr: zsh: parse error near `>' |
dash | 15 Eval in does tilde expansion stdout: FALSEstderr: dash: 4: [[: not found dash: 5: [[: not found |
mksh | 15 Eval in does tilde expansion stdout: FALSEstderr: |
dash | 16 Eval in bash does tilde expansion in array stdout: stderr: dash: 1: eval: Syntax error: "(" unexpected |
mksh | 16 Eval in bash does tilde expansion in array stdout: FALSEstderr: |
zsh | 16 Eval in bash does tilde expansion in array stdout: FALSE FALSEstderr: |
dash | 17 source works for files in current directory (bash only) stdout: stderr: dash: 3: .: cmd: not found |
mksh | 17 source works for files in current directory (bash only) stdout: stderr: mksh: <stdin>[3]: .: cmd: No such file or directory |
zsh | 17 source works for files in current directory (bash only) stdout: status=127stderr: .: no such file or directory: cmd |
dash | 21 source doesn't crash when targeting a directory stdout: status=0stderr: |
mksh | 21 source doesn't crash when targeting a directory stdout: status=0stderr: |
zsh | 21 source doesn't crash when targeting a directory stdout: status=0stderr: |