Results for builtin-eval-source.test.sh

statusdashbash-4mkshzshosh
pass 718121220
ok 52560
N-I 60110
BUG 20210
total2020202020
casedashbash-4mkshzshoshdescription
0pass pass pass pass pass Eval
1BUG pass pass pass pass eval accepts/ignores --
details
2ok pass ok ok pass eval usage
detailsdetailsdetails
3pass pass pass pass pass Source
4N-I pass pass pass pass source accepts/ignores --
details
5ok pass pass ok pass Source nonexistent
detailsdetails
6N-I pass ok ok pass Source with no arguments
detailsdetailsdetails
7N-I pass pass pass pass Source with arguments
details
8N-I pass pass pass pass Source from a function, mutating argv and defining a local var
details
9ok ok ok ok pass Source with syntax error
detailsdetailsdetailsdetails
10ok ok ok ok pass Eval with syntax error
detailsdetailsdetailsdetails
11BUG pass BUG pass pass Eval in does tilde expansion
detailsdetails
12N-I pass BUG BUG pass Eval in bash does tilde expansion in array
detailsdetailsdetails
13N-I pass N-I N-I pass source works for files in current directory (bash only)
detailsdetailsdetails
14pass pass pass pass pass source looks in PATH for files
15pass pass pass pass pass source finds files in PATH before current dir
16pass pass pass pass pass source works for files in subdirectory
17pass pass pass pass pass exit within eval (regression)
18pass pass pass pass pass exit within source (regression)
19ok pass ok ok pass source doesn't crash when targeting a directory
detailsdetailsdetails
69 passed, 18 OK, 8 not implemented, 5 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

dash1 eval accepts/ignores --

stdout:
stderr: 
dash: 1: eval: --: not found
dash2 eval usage

stdout:
127
127
stderr:
dash: 1: eval: -: not found
dash: 1: eval: -z: not found
mksh2 eval usage

stdout:
127
stderr:
mksh: -: not found
mksh: <stdin>[3]: eval: -z: unknown option
zsh2 eval usage

stdout:
0
127
stderr:
zsh: command not found: -z
dash4 source accepts/ignores --

stdout:
stderr: 
dash: 2: source: not found
dash5 Source nonexistent

stdout:
status=127
stderr:
dash: 1: source: not found
zsh5 Source nonexistent

stdout:
status=127
stderr:
source: no such file or directory: /nonexistent/path
dash6 Source with no arguments

stdout:
status=127
stderr:
dash: 1: source: not found
mksh6 Source with no arguments

stdout:
status=1
stderr:
mksh: <stdin>[1]: source: missing argument
zsh6 Source with no arguments

stdout:
status=1
stderr:
source: not enough arguments
dash7 Source with arguments

stdout:
show-argv:
stderr:
dash8 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:
dash9 Source with syntax error

stdout:
stderr: 
dash: 2: /home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.8901/09-dash/syntax-error.sh: Syntax error: newline unexpected
bash-49 Source with syntax error

stdout:
status=1
stderr:
/home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.8901/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.8901/09-bash-4/syntax-error.sh: line 1: `echo >'
mksh9 Source with syntax error

stdout:
status=1
stderr:
mksh: /home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.8901/09-mksh/syntax-error.sh[1]: syntax error: 'newline' unexpected
zsh9 Source with syntax error

stdout:
status=126
stderr:
/home/uke/oil/_tmp/spec-tmp/builtin-eval-source.test.sh.8901/09-zsh/syntax-error.sh:2: parse error near `\n'
dash10 Eval with syntax error

stdout:
stderr: 
dash: 1: eval: Syntax error: end of file unexpected
bash-410 Eval with syntax error

stdout:
status=1
stderr:
bash-4.4: eval: line 1: syntax error near unexpected token `newline'
bash-4.4: eval: line 1: `echo >'
mksh10 Eval with syntax error

stdout:
stderr: 
mksh: syntax error: 'newline' unexpected
zsh10 Eval with syntax error

stdout:
status=1
stderr:
zsh: parse error near `>'
dash11 Eval in does tilde expansion

stdout:
FALSE
stderr:
dash: 4: [[: not found
dash: 5: [[: not found
mksh11 Eval in does tilde expansion

stdout:
FALSE
stderr:
dash12 Eval in bash does tilde expansion in array

stdout:
stderr: 
dash: 1: eval: Syntax error: "(" unexpected
mksh12 Eval in bash does tilde expansion in array

stdout:
FALSE
stderr:
zsh12 Eval in bash does tilde expansion in array

stdout:
FALSE
FALSE
stderr:
dash13 source works for files in current directory (bash only)

stdout:
stderr: 
dash: 3: .: cmd: not found
mksh13 source works for files in current directory (bash only)

stdout:
stderr: 
mksh: <stdin>[3]: .: cmd: No such file or directory
zsh13 source works for files in current directory (bash only)

stdout:
status=127
stderr:
.: no such file or directory: cmd
dash19 source doesn't crash when targeting a directory

stdout:
status=0
stderr:
mksh19 source doesn't crash when targeting a directory

stdout:
status=0
stderr:
zsh19 source doesn't crash when targeting a directory

stdout:
status=0
stderr: