Results for builtin-eval-source.test.sh

casedashbashmkshzshoshosh_ALTdescription
0pass pass pass pass pass pass Eval
1pass pass pass pass pass pass Source
2ok pass pass ok pass pass Source nonexistent
detailsdetails
3N-I pass ok ok pass pass Source with no arguments
detailsdetailsdetails
4N-I pass pass pass pass pass Source with arguments
details
5N-I pass pass pass pass pass Source from a function, mutating argv and defining a local var
details
6ok ok ok ok pass pass Source with syntax error
detailsdetailsdetailsdetails
7ok ok ok ok pass pass Eval with syntax error
detailsdetailsdetailsdetails
8BUG pass BUG pass pass pass Eval in does tilde expansion
detailsdetails
9N-I pass BUG BUG pass pass Eval in bash does tilde expansion in array
detailsdetailsdetails

40 passed, 12 ok, 4 known unimplemented, 4 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

dash2 Source nonexistent

stdout:
status=127
stderr:
_tmp/spec-bin/dash: 1: source: not found
zsh2 Source nonexistent

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

stdout:
status=127
stderr:
_tmp/spec-bin/dash: 1: source: not found
mksh3 Source with no arguments

stdout:
status=1
stderr:
_tmp/spec-bin/mksh: <stdin>[1]: source: missing argument
zsh3 Source with no arguments

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

stdout:
show-argv:
stderr:
dash5 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:
dash6 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
bash6 Source with syntax error

stdout:
status=1
stderr:
/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 >'
mksh6 Source with syntax error

stdout:
status=1
stderr:
_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
zsh6 Source with syntax error

stdout:
status=126
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-eval-source.test.sh/syntax-error.sh:2: parse error near `\n'
dash7 Eval with syntax error

stdout:
stderr: 
_tmp/spec-bin/dash: 1: eval: Syntax error: end of file unexpected
bash7 Eval with syntax error

stdout:
status=1
stderr:
_tmp/spec-bin/bash: eval: line 1: syntax error near unexpected token `newline'
_tmp/spec-bin/bash: eval: line 1: `echo >'
mksh7 Eval with syntax error

stdout:
stderr: 
_tmp/spec-bin/mksh: syntax error: 'newline' unexpected
zsh7 Eval with syntax error

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

stdout:
FALSE
stderr:
_tmp/spec-bin/dash: 4: [[: not found
_tmp/spec-bin/dash: 5: [[: not found
mksh8 Eval in does tilde expansion

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

stdout:
stderr: 
_tmp/spec-bin/dash: 1: eval: Syntax error: "(" unexpected
mksh9 Eval in bash does tilde expansion in array

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

stdout:
FALSE
FALSE
stderr: