Results for builtin-eval-source.test.sh

statusdashbash-4mkshzshosh
pass 819121322
ok 52560
N-I 71220
BUG 20310
total2222222222
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 BUG pass pass eval string with 'break continue return error'
details
4N-I N-I N-I N-I pass eval YSH block with 'break continue return error'
detailsdetailsdetailsdetails
5pass pass pass pass pass exit within eval (regression)
6pass pass pass pass pass exit within source (regression)
7pass pass pass pass pass Source
8N-I pass pass pass pass source accepts/ignores --
details
9ok pass pass ok pass Source nonexistent
detailsdetails
10N-I pass ok ok pass Source with no arguments
detailsdetailsdetails
11N-I pass pass pass pass Source with arguments
details
12N-I pass pass pass pass Source from a function, mutating argv and defining a local var
details
13ok ok ok ok pass Source with syntax error
detailsdetailsdetailsdetails
14ok ok ok ok pass Eval with syntax error
detailsdetailsdetailsdetails
15BUG pass BUG pass pass Eval in does tilde expansion
detailsdetails
16N-I pass BUG BUG pass Eval in bash does tilde expansion in array
detailsdetailsdetails
17N-I pass N-I N-I pass source works for files in current directory (bash only)
detailsdetailsdetails
18pass pass pass pass pass source looks in PATH for files
19pass pass pass pass pass source finds files in PATH before current dir
20pass pass pass pass pass source works for files in subdirectory
21ok pass ok ok pass source doesn't crash when targeting a directory
detailsdetailsdetails
74 passed, 18 OK, 12 not implemented, 6 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
mksh3 eval string with 'break continue return error'

stdout:
--- break
1
2
end func
--- continue
1
2
end func
--- return
1
--- false
1
stderr:
mksh: break: can't break
mksh: break: can't break
mksh: continue: can't continue
mksh: continue: can't continue
dash4 eval YSH block with 'break continue return error'

stdout:
stderr: 
bash-44 eval YSH block with 'break continue return error'

stdout:
stderr: 
mksh4 eval YSH block with 'break continue return error'

stdout:
stderr: 
zsh4 eval YSH block with 'break continue return error'

stdout:
stderr: 
dash8 source accepts/ignores --

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

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

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

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

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

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

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

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

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

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

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

stdout:
stderr: 
dash: 1: eval: Syntax error: end of file unexpected
bash-414 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 >'
mksh14 Eval with syntax error

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

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

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

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

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

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

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

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

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

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

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

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

stdout:
status=0
stderr: